WARNING in (webpack)-dev-server/~/express/lib/view.js
Critical dependencies:
76:29-56 the request of a dependency is an expression
@ (webpack)-dev-server/~/express/lib/view.js 76:29-56
WARNING in (webpack)/~/watchpack/~/chokidar/lib/fsevents-handler.js
Module not found: Error: Cannot resolve module 'fsevents' in /home/tigerb/github/easy-vue/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/lib
@ (webpack)/~/watchpack/~/chokidar/lib/fsevents-handler.js 8:13-32
ERROR in (webpack)-dev-server/lib/Server.js
Module not found: Error: Cannot resolve module 'fs' in /home/tigerb/github/easy-vue/node_modules/webpack-dev-server/lib
@ (webpack)-dev-server/lib/Server.js 1:9-22
ERROR in (webpack)-dev-server/~/serve-index/index.js
Module not found: Error: Cannot resolve module 'fs' in /home/tigerb/github/easy-vue/node_modules/webpack-dev-server/node_modules/serve-index
@ (webpack)-dev-server/~/serve-index/index.js 20:9-22
ERROR in (webpack)-dev-server/~/sockjs/lib/sockjs.js
Module not found: Error: Cannot resolve module 'fs' in /home/tigerb/github/easy-vue/node_modules/webpack-dev-server/node_modules/sockjs/lib
@ (webpack)-dev-server/~/sockjs/lib/sockjs.js 35:7-20
ERROR in (webpack)-dev-server/~/webpack-dev-middleware/~/mime/mime.js
Module not found: Error: Cannot resolve module 'fs' in /home/tigerb/github/easy-vue/node_modules/webpack-dev-server/node_modules/webpack-dev-middleware/node_modules/mime
@ (webpack)-dev-server/~/webpack-dev-middleware/~/mime/mime.js 2:9-22
ERROR in (webpack)/package.json
Module parse failed: /home/tigerb/github/easy-vue/node_modules/webpack/package.json Line 2: Unexpected token :
You may need an appropriate loader to handle this file type.
| {
| "name": "webpack",
| "version": "1.12.12",
| "author": {
@ (webpack)/lib/Stats.js 135:16-42
ERROR in (webpack)-dev-server/~/sockjs/lib/webjs.js
Module not found: Error: Cannot resolve module 'fs' in /home/tigerb/github/easy-vue/node_modules/webpack-dev-server/node_modules/sockjs/lib
@ (webpack)-dev-server/~/sockjs/lib/webjs.js 9:7-20
报了这么个
错?
ERROR in (webpack)-dev-server/~/express/lib/request.js
Module not found: Error: Cannot resolve module 'net' in /home/tigerb/github/easy-vue/node_modules/webpack-dev-server/node_modules/express/lib
@ (webpack)-dev-server/~/express/lib/request.js 18:11-25
ERROR in (webpack)/~/uglify-js/tools/node.js
Module not found: Error: Cannot resolve module 'fs' in /home/tigerb/github/easy-vue/node_modules/webpack/node_modules/uglify-js/tools
@ (webpack)/~/uglify-js/tools/node.js 2:9-22
感觉你在打包服务端代码,引入了fs模块