首页 > 解决方案 > npm 错误!可以在以下位置找到此运行的完整日志:(未提供目录)

问题描述

因此,我正在尝试构建一个从 github 上抓取的项目,但是我在从下载中立即构建项目时遇到了问题。我按照他对 T 的指示进行操作,但我收到这些错误,表明我应该阅读更多内容以确定错误的原因,但他们指定的位置是空白的。我在哪里可以找到这些日志?

  at Solution.CrossCutting.AspNetCore.Middlewares.ExceptionMiddleware.InvokeAsync(HttpContext context) in C:\Users\jle01\Desktop\DotNetArchitecture-master\source\CrossCutting\AspNetCore\Middlewares\ExceptionMiddleware.cs:line 31
   at Solution.CrossCutting.AspNetCore.Middlewares.ExceptionMiddleware.InvokeAsync(HttpContext context) in C:\Users\jle01\Desktop\DotNetArchitecture-master\source\CrossCutting\AspNetCore\Middlewares\ExceptionMiddleware.cs:line 41
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. (The NPM script 'serve' exited without indicating that the Angular CLI was listening for requests. The error output was: Lint errors found in the listed files.

npm ERR! code ELIFECYCLE

npm ERR! errno 1
npm ERR! frontend@1.0.0 serve: `ng lint && ng serve "--port" "65275"`

npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the frontend@1.0.0 serve 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:

) ---> System.InvalidOperationException: The NPM script 'serve' exited without indicating that the Angular CLI was listening for requests. The error output was: Lint errors found in the listed files.

npm ERR! code ELIFECYCLE

npm ERR! errno 1
npm ERR! frontend@1.0.0 serve: `ng lint && ng serve "--port" "65275"`

npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the frontend@1.0.0 serve 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:

标签: angularnpmangular6

解决方案


推荐阅读