Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用上有不少报错 #1

Open
dengqianyi opened this issue Oct 26, 2018 · 1 comment
Open

使用上有不少报错 #1

dengqianyi opened this issue Oct 26, 2018 · 1 comment

Comments

@dengqianyi
Copy link

ERROR in ./node_modules/_argparse@1.0.10@argparse/lib/argument_parser.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_argparse@1.0.10@argparse\lib'
@ ./node_modules/_argparse@1.0.10@argparse/lib/argument_parser.js 610:11-24
@ ./node_modules/_argparse@1.0.10@argparse/lib/argparse.js
@ ./node_modules/_argparse@1.0.10@argparse/index.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/args.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_formstream@0.0.7@formstream/lib/formstream.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_formstream@0.0.7@formstream\lib'
@ ./node_modules/_formstream@0.0.7@formstream/lib/formstream.js 39:9-22
@ ./node_modules/_formstream@0.0.7@formstream/index.js
@ ./node_modules/_qiniu@6.1.13@qiniu/qiniu/rs.js
@ ./node_modules/_qiniu@6.1.13@qiniu ^.*/rs.js$
@ ./node_modules/_qiniu@6.1.13@qiniu/index.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/args.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_fs.realpath@1.0.0@fs.realpath/index.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_fs.realpath@1.0.0@fs.realpath'
@ ./node_modules/_fs.realpath@1.0.0@fs.realpath/index.js 8:9-22
@ ./node_modules/_glob@7.1.3@glob/glob.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/utils.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/uploader.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_fs.realpath@1.0.0@fs.realpath/old.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_fs.realpath@1.0.0@fs.realpath'
@ ./node_modules/_fs.realpath@1.0.0@fs.realpath/old.js 24:9-22
@ ./node_modules/_fs.realpath@1.0.0@fs.realpath/index.js
@ ./node_modules/_glob@7.1.3@glob/glob.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/utils.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/uploader.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_glob@7.1.3@glob/glob.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_glob@7.1.3@glob'
@ ./node_modules/_glob@7.1.3@glob/glob.js 43:9-22
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/utils.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/uploader.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_glob@7.1.3@glob/sync.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_glob@7.1.3@glob'
@ ./node_modules/_glob@7.1.3@glob/sync.js 4:9-22
@ ./node_modules/_glob@7.1.3@glob/glob.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/utils.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/uploader.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_mime@1.2.9@mime/mime.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_mime@1.2.9@mime'
@ ./node_modules/_mime@1.2.9@mime/mime.js 2:9-22
@ ./node_modules/_qiniu@6.1.13@qiniu/qiniu/io.js
@ ./node_modules/_qiniu@6.1.13@qiniu ^.*/io.js$
@ ./node_modules/_qiniu@6.1.13@qiniu/index.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/args.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/utils.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_qiniu-uploader@1.2.4@qiniu-uploader\lib'
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/utils.js 1:11-24
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/uploader.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_qiniu@6.1.13@qiniu/qiniu/io.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_qiniu@6.1.13@qiniu\qiniu'
@ ./node_modules/_qiniu@6.1.13@qiniu/qiniu/io.js 4:9-22
@ ./node_modules/_qiniu@6.1.13@qiniu ^.*/io.js$
@ ./node_modules/_qiniu@6.1.13@qiniu/index.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/args.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_qiniu@6.1.13@qiniu/qiniu/conf.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_qiniu@6.1.13@qiniu\qiniu'
@ ./node_modules/_qiniu@6.1.13@qiniu/qiniu/conf.js 1:9-22
@ ./node_modules/_qiniu@6.1.13@qiniu ^.*/conf.js$
@ ./node_modules/_qiniu@6.1.13@qiniu/index.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/args.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_qiniu@6.1.13@qiniu/qiniu/util.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_qiniu@6.1.13@qiniu\qiniu'
@ ./node_modules/_qiniu@6.1.13@qiniu/qiniu/util.js 1:9-22
@ ./node_modules/_qiniu@6.1.13@qiniu ^.*/util.js$
@ ./node_modules/_qiniu@6.1.13@qiniu/index.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/args.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

ERROR in ./node_modules/_urllib@0.5.1@urllib/lib/urllib.js
Module not found: Error: Can't resolve 'fs' in 'D:\workspace\haizb\sdd_admin\node_modules_urllib@0.5.1@urllib\lib'
@ ./node_modules/_urllib@0.5.1@urllib/lib/urllib.js 11:9-22
@ ./node_modules/_urllib@0.5.1@urllib/index.js
@ ./node_modules/_qiniu@6.1.13@qiniu/qiniu/rpc.js
@ ./node_modules/_qiniu@6.1.13@qiniu ^.*/rpc.js$
@ ./node_modules/_qiniu@6.1.13@qiniu/index.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/args.js
@ ./node_modules/_qiniu-uploader@1.2.4@qiniu-uploader/lib/index.js
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/my-components/text-editor/text-editor.vue
@ ./src/views/my-components/text-editor/text-editor.vue
@ ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/views/pages/activity/config_activity.vue
@ ./src/views/pages/activity/config_activity.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./node_modules/_webpack-dev-server@2.11.3@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server @/main

如上面,好多地方报打开错误

@lpreterite
Copy link
Owner

貌似你安装的是qiniu-uploader,我这个库安装需带上私有域的ヽ(;´Д`)ノ,可能说明部分描述得不够清楚

// 安装这个包才是这个仓库哦
> npm i -S @packy-tang/qiniu-uploader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants