出现错误:“npm ERR!缺少脚本:启动”,但启动脚本在那里

问题描述

{
  "name": "oculus_scraper_node","version": "1.0.0","description": "","main": "index.js","scripts": {
    "start": "node index.js"
  },"keywords": [],"author": "","license": "ISC","dependencies": {
    "cheerio": "^1.0.0-rc.5","nodemailer": "^6.4.17","puppeteer": "^5.5.0"
  }
}

当使用 heroku 并检查它是否正确部署时,我不断收到错误消息“npm ERR!缺少脚本:启动”,但我的程序中肯定有启动脚本,如您所见。我浏览了其他几个帖子,但没有任何效果。有什么想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)