npm run dev启动报错
- 0 info it worked if it ends with ok
- 1 verbose cli [ 'D:\\Program Files\\nodejs\\node.exe',
- 1 verbose cli 'D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
- 1 verbose cli 'run',
- 1 verbose cli 'build:dll' ]
- 2 info using npm@5.6.0
- 3 info using node@v8.11.3
- 20 error code ELIFECYCLE
- 21 error errno 1
- 22 error antd-admin@4.3.2 build:dll: `roadhog buildDll`
- 22 error Exit status 1
- 23 error This is probably not a problem with npm. There is likely additional logging output above.
- 24 verbose exit [ 1, true ]
- 解决方案
- 删除node_modules
- 删除package-lock.json
- 清除npm缓存 npm cache clear --force
- npm install