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

能帮我看下这是什么问题吗 #14

Closed
hechuanhua opened this issue Mar 30, 2017 · 1 comment
Closed

能帮我看下这是什么问题吗 #14

hechuanhua opened this issue Mar 30, 2017 · 1 comment

Comments

@hechuanhua
Copy link

WARNING in .//.4.10.2@express/lib/view.js
Critical dependencies:
50:48-69 the request of a dependency is an expression
@ ./
/.4.10.2@express/lib/view.js 50:48-69

WARNING in .//.0.1.13@bson-ext/ext/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./win32/x64/bson i n E:\blog\node_modules.0.1.13@bson-ext\ext
@ ./
/.0.1.13@bson-ext/ext/index.js 6:10-37

WARNING in .//.0.1.13@bson-ext/ext/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./win32/ia32/bson in E:\blog\node_modules.0.1.13@bson-ext\ext
@ ./
/.0.1.13@bson-ext/ext/index.js 8:10-38

WARNING in .//.0.1.12@encoding/lib/iconv-loader.js
Critical dependencies:
9:12-34 the request of a dependency is an expression
@ ./
/.0.1.12@encoding/lib/iconv-loader.js 9:12-34

WARNING in .//.1.2.1@bindings/bindings.js
Critical dependencies:
76:22-40 the request of a dependency is an expression
76:43-53 the request of a dependency is an expression
@ ./
/.1.2.1@bindings/bindings.js 76:22-40 76:43-53

WARNING in ./~/.1.2.1@bindings/README.md
Module parse failed: E:\blog\node_modules.1.2.1@bindings\README.md Unexpected t oken (2:3)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (2:3)
at Parser.pp$4.raise (E:\blog\node_modules.3.3.0@acorn\dist\acorn.js:2221:1 5)
at Parser.pp.unexpected (E:\blog\node_modules.3.3.0@acorn\dist\acorn.js:603 :10)
我用webpack打包生产环境老是报这种错误,我用babel-node去编译开发环境就不会报错,配置基本和你的webpack.config.prod的配置差不多

@hechuanhua
Copy link
Author

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

1 participant