3-8中 执行npm run dev报错(win7 64位)?

来源:3-8 webpack-dev-server

从哪里跌倒还是在爬起来

2017-06-23

> mmall_fe@1.0.0 dev D:\mmall_learning\new\mmall_fe

> WEBPACK_ENV=dev webpack-dev-server --inline --port 8088


'WEBPACK_ENV' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒

▒▒▒▒▒▒▒▒▒ļ▒▒▒


npm ERR! Windows_NT 6.1.7601

npm ERR! argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev"

npm ERR! node v4.4.7

npm ERR! npm  v2.15.8

npm ERR! code ELIFECYCLE

npm ERR! mmall_fe@1.0.0 dev: `WEBPACK_ENV=dev webpack-dev-server --inline --port 8088`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the mmall_fe@1.0.0 dev script 'WEBPACK_ENV=dev webpack-dev-server --inline --port 8088'.

npm ERR! This is most likely a problem with the mmall_fe package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR!     WEBPACK_ENV=dev webpack-dev-server --inline --port 8088

npm ERR! You can get information on how to open an issue for this project with:

npm ERR!     npm bugs mmall_fe

npm ERR! Or if that isn't available, you can get their info via:

npm ERR!

npm ERR!     npm owner ls mmall_fe

npm ERR! There is likely additional logging output above.


npm ERR! Please include the following file with any support request:

npm ERR!     D:\mmall_learning\new\mmall_fe\npm-debug.log


写回答

1回答

Rosen

2017-06-23

windows机器上要执行npm run dev_win

1
0

真实数据对接 从0开发前后端分离的企业级上线项目

【毕设项目精品】前端实战,对接真实服务端数据,开发完整项目

4272 学习 · 4120 问题

查看课程