bailicangdu/react-pxq

项目执行npm run start 报错

geeklyc opened this issue · 2 comments

liyoucheng-2:react-pxq liyoucheng$ npm run start

> yhd-recharge-source@0.1.0 start /Users/liyoucheng/D/sources/web/react-pxq
> node scripts/start.js

Cannot read property 'entryOption' of undefined
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! yhd-recharge-source@0.1.0 start: `node scripts/start.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the yhd-recharge-source@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/liyoucheng/.npm/_logs/2019-06-24T15_40_29_133Z-debug.log

应该用 npm start

webpack-dev-server 的版本需要 2.9.4的