angular - 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:
解决方案
推荐阅读
- python - Keras 权重衰减正则化不起作用
- ios - 使用swift向下滚动表格视图时如何使标题/导航栏淡出动画
- azure-ad-b2c - 当授权属性筛选器中的角色检查失败时,为什么 Azure b2c 嵌入式密码重置流程会进入循环?
- javascript - 来自 fetch 调用的 CORS 错误,但来自 NodeJS 没有
- javascript - 如何在 alpine js 中获取动态文本值?
- python - 如何将 MIME 64 文档转换为字符串?
- angular - Angular router.navigate 将刷新组件
- python - tensorflow 何时实际计算 SGD 的梯度?
- python - Django用什么代替null?
- java - 咖啡因缓存在 expireAfterAccess/expireAfterWrite 之后不会被驱逐