node.js - 在部署在 heroku 上的节点应用程序上收到此错误消息
问题描述
2021-03-08T18:21:57.276277+00:00 应用程序 [web.1]:npm 错误!退出状态 1 2021-03-08T18:21:57.276376+00:00 app[web.1]: npm ERR! 2021-03-08T18:21:57.276442+00:00 应用程序 [web.1]:npm 错误!在 trust@1.0.0 启动脚本中失败。2021-03-08T18:21:57.276505+00:00 应用程序 [web.1]:npm 错误!这可能不是 npm 的问题。上面可能有额外的日志输出。2021-03-08T18:21:57.286586+00:00 应用 [web.1]:
在我的 package.json 文件夹中看到以下错误消息
{ "resource": "/c:/Users/hp/Desktop/samples/Trust/package.json", "owner": "_generated_diagnostic_collection_name_#1", "code": "768", "severity": 4, "message": "Problems loading reference 'https://json.schemastore.org/package': Unable to load schema from 'https://json.schemastore.org/package': Request vscode/content failed unexpectedly without providing any details.", "startLineNumber": 1, "startColumn": 1, "endLineNumber": 1, "endColumn": 2 }
解决方案
推荐阅读
- perl - XML::Twig 在封闭前添加空格 >
- javascript - 使用把手循环遍历数组中的所有子元素
- php - 检查用户角色 Laravel
- c# - 在 WPF 数据网格中进行计算
- python - 如何在一系列文件上应用python循环?
- php - 覆盖/扩展行为 ProgressStepPrinter
- airflow - 气流:当某些上游被短路跳过时运行任务
- python - 删除pandas python中的方括号将numpy数组导出到excel
- version-control - 是否可以在同一个项目中使用 Plastic SCM 和 Gluon?
- javascript - 在组件卸载之前 setTimeout 未完全取消