when roadhog v0.6.0 , npm run buildcan work.
when roadhog upgrade v1.0.2, npm run build
E:\ycp_wx>npm run build
> @ build E:\ycp_wx
> roadhog build
Creating an optimized production build...
Failed to compile.
Module not found: Error: Can't resolve 'react-router/lib/hashHistory' in 'E:\ycp_wx\node_modules\dva
\lib'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build: `roadhog build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build 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! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2017-08-08T07_55_28_911Z-debug.log
What do you expected?(预期的正常效果)
run npm run build goes well.
What happen?(发生了何种非正常现象)
when roadhog upgrade to v1.0.2, something wrong,and I dont know how to fix it.
Environment(required) | 环境(必填)
What did you do? Please provide steps to re-produce your problem.(请提供复现步骤)
package.json :
when roadhog v0.6.0 ,
npm run build
can work. when roadhog upgrade v1.0.2,npm run build
What do you expected?(预期的正常效果)
run
npm run build
goes well.What happen?(发生了何种非正常现象)
when roadhog upgrade to v1.0.2, something wrong,and I dont know how to fix it.
Re-producible online demo (可复现的在线demo)
none