display-reason無法識別?
webpack版本3.5.6,在package.json中的scripts添加 "webpack":"webpack --config webpack.config.js --progress --display-modules --colors --display-reason",然后npm run webpack報錯 無法識別的選項:display-reason 去掉--display-reason就可以了,這是怎么回事?
webpack版本3.5.6,在package.json中的scripts添加 "webpack":"webpack --config webpack.config.js --progress --display-modules --colors --display-reason",然后npm run webpack報錯 無法識別的選項:display-reason 去掉--display-reason就可以了,這是怎么回事?
2017-09-13
舉報
2017-10-25
我也遇到這個問題了,我的解決方法是把webpack的版本回退到視頻里面的哪個版本,問題就解決了,
"webpack":"webpack --config webpack.config.js --progress --display-modules ?--display-reasons --colors"這個方法我這里行不通
2017-10-14
"webpack":"webpack --config webpack.config.js --progress --display-modules ?--display-reasons --colors"
2017-09-23
npm ERR! missing script: wabpack
npm ERR! A complete log of this run can be found in:
npm ERR! ? ? C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2017-09-23T1
5_56_34_320Z-debug.log
2017-09-13
注意一下格式 應該是 ?--display-reasons