发生未知错误。检查诊断日志以获取详细信息

发布于 2025-01-15 00:05:50 字数 940 浏览 5 评论 0原文

Azure 新手: 我正在使用 azure 免费服务 使用 vs code 扩展 Azure 托管 react 网站应用服务。 部署时,我收到以下错误,但没有具体详细信息

  Using Node version:
  v14.18.3
  Using Npm version:
  6.14.15
  Running 'npm install --unsafe-perm'...
  > react-scripts build
  Creating an optimized production build...
  An unknown error has occurred. Check the diagnostic log for details.
  Deployment failed.

Inside Azure All Service:- microsoft.alertsmanagement/smartDetectoralertrules

失败异常通知您 HTTP 失败率异常上升请求或依赖项调用。

重现步骤

  • 第一次部署对我有用

  • package.json 添加新的依赖项后,它不起作用(之前添加相同的依赖项)

  • 向项目添加新的 png 资源失败,每次失败的原因都不同

尝试解决

  • 删除项目并重新创建

  • 更新项目依赖性

  • 已创建新项目,但对项目进行一些更改后失败

请帮助解决此问题

New to Azure : I am using azure free service to host react website using vs code extension Azure App Service.
While deploying I am getting following error with no specific details

  Using Node version:
  v14.18.3
  Using Npm version:
  6.14.15
  Running 'npm install --unsafe-perm'...
  > react-scripts build
  Creating an optimized production build...
  An unknown error has occurred. Check the diagnostic log for details.
  Deployment failed.

Inside Azure All Service :- microsoft.alertsmanagement/smartdetectoralertrules

Failure Anomalies notifies you of an unusual rise in the rate of failed HTTP requests or dependency calls.

Steps to reproduce

  • First deployment worked for me

  • After adding new dependancy in package.json it is not working (previously worked adding same dependancy)

  • Adding new png assets to project is failed, every time reason is different of failing

Trials to solve

  • Deleted projects and re created

  • Updated project dependancy

  • New project created but its fails after some changes to project

Please help to solve this problem

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文