fork了大漠老师的openwms,ng serve 启动失败,记录一下解决的办法
报错1:项目停止在95% emitting LicenseWebpackPlugin不动
解决办法:
1. yarn npm install -g
2. yarn
报错2:workspace中NgModule 与RouterModule 报错
解决办法:
1. yarn upgrade @angular/core
2. yarn upgrade @angular/router
报错3:Module build failed: Error: sass-loader
requires node-sass
>=4. Please install a compatible version.
解决办法:
1. cnpm uninstall node-sass
2. cnpm install node-sass
最后上成功的图
image.png
网友评论