我正在使用 Angular v10,但在启动我的 .net core / Angular 应用程序时遇到问题。
我一直在尝试寻找解决方案/甚至将所有内容都升级到最新版本,但仍然无法正常工作。
当我运行 ng build --watch 时,它没有以任何错误结束,但是当我从 Visual Studio 启动我的应用程序时,我最终在浏览器中出现了这样的错误:
Un unhandled exception occurred while processing the request.
AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: Schema validation failed with the following errors:
Data path "" should NOT have additional properties(allowedCommonJsDependencies).
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! …Run Code Online (Sandbox Code Playgroud)