简体   繁体   English

在 Heroku 上安装 Hubot 失败

[英]Failed to install Hubot on Heroku

I can't install my Hubot on Heroku and have no idea.我无法在 Heroku 上安装我的 Hubot 并且不知道。 I tried several versions of node and npm but always get the same error:我尝试了几个版本的节点和 npm 但总是得到相同的错误:

heroku error heroku 错误

I tried that to install the dependencies "moment" and "express" but i get the error:我尝试安装依赖项“moment”和“express”,但出现错误:

npm express error npm 快递错误

It looks like the line with version in your package.json is quoted incorrectly - a starts with " but is closed with ' .看起来 package.json 中的version行引用不正确 - 以"开头但以'结尾。

Can you add a bit of your package.json file?你能添加一点你的 package.json 文件吗? I assume it fails locally in the same manner?我认为它以相同的方式在本地失败?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM