webpack报错

搭建react+sass环境报错如下,求解原因:

react-es6-webpack@1.0.0 start E:work-dataPPRoseFinch-FE
webpack-dev-server --hot --progress --colors --port 8080

70% 1/1 build modules http://localhost:8080/webpack...
webpack result is served from http://localhost:8080/build/js
content is served from E:work-dataPPRoseFinch-FE
28% 19/63 build modules
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\aa\AppData
\Roaming\npm\node_modules\cnpm\node_modules\npm\bin\npm-cli.js" "--userc
onfig=C:\Users\aa\.cnpmrc" "--disturl=https://npm.taobao.org/mirror...
e" "--registry=https://registry.npm.taobao.org" "start"
npm ERR! node v6.9.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! react-es6-webpack@1.0.0 start: `webpack-dev-server --hot --progress --c
olors --port 8080`
npm ERR! Exit status 3221225501
npm ERR!
npm ERR! Failed at the react-es6-webpack@1.0.0 start script 'webpack-dev-server
--hot --progress --colors --port 8080'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the react-es6-webpack pac
kage,

阅读 1.6k
评论
    0 个回答
    撰写回答

    登录后参与交流、获取后续更新提醒

    相似问题
    推荐文章