[英]Update angular-devkit and got fail: Microsoft.AspNetCore.SpaServices[0]
in my Angular 8 +.net core 2.2 I've upgraded from Angular 8.2.1 to 8.2.7 after that I see in console windows that messages:在我的 Angular 8 +.net core 2.2 中,我从 Angular 8.2.1 升级到 8.2.7 之后,我在控制台 Z0F4137ED1502B5045D6083AA258B5C24 中看到消息:
fail: Microsoft.AspNetCore.SpaServices[0]
<s> [webpack.Progress] 10% building 1/1 modules 0 active
.......................
fail: Microsoft.AspNetCore.SpaServices[0]
<s> [webpack.Progress] 98% after emitting
fail: Microsoft.AspNetCore.SpaServices[0]
<s> [webpack.Progress] 98% after emitting CopyPlugin
fail: Microsoft.AspNetCore.SpaServices[0]
<s> [webpack.Progress] 98% after emitting angular-compiler
fail: Microsoft.AspNetCore.SpaServices[0]
<s> [webpack.Progress] 98% after emitting SizeLimitsPlugin
fail: Microsoft.AspNetCore.SpaServices[0]
<s> [webpack.Progress] 100%
info: Microsoft.AspNetCore.SpaServices[0]
chunk {main} main.js, main.js.map (main) 451 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 287 kB [initial] [rendered]
chunk {polyfills-es5} polyfills-es5.js, polyfills-es5.js.map (polyfills-es5) 624 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 1.38 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 6.49 MB [initial] [rendered]
Date: 2019-09-24T05:37:30.303Z - Hash: 688e97dd7591eb779072 - Time: 19723ms
info: Microsoft.AspNetCore.SpaServices[0]
** Angular Live Development Server is listening on localhost:2073, open your browser on http://localhost:2073/ **
info: Microsoft.AspNetCore.SpaServices[0]
i 「wdm」: Compiled successfully.
seems the application is compiled and working and I found that angular-devkit is the probleme,if I revert to previous version all works fine:似乎应用程序已编译并正在运行,我发现 angular-devkit 是问题,如果我恢复到以前的版本一切正常:
"@angular-devkit/build-angular": "^0.803.5",
revert to恢复
"@angular-devkit/build-angular": "0.802.1",
is there any fix for using the latest version?使用最新版本有什么解决办法吗?
I have the same problem like your when using我在使用时遇到了和你一样的问题
"@angular-devkit/build-angular": "~0.803.3"
I always see fail log if the build is not success.如果构建不成功,我总是会看到失败日志。 After angular cli compile success everything will be fine
angular cli编译成功后一切都会好的
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.