简体   繁体   English

无法将Node.js应用程序部署到heroku

[英]Trouble deploying Node.js app to heroku

I have tested and completed a version of my app that uses Node.js and more specifically it incorporates the node twitter module. 我已经测试并完成了使用Node.js的我的应用程序的版本,更具体地说,它包含了node twitter模块。 When following Heroku's deployment guide and I execute heroku git:clone -a groupmetweetbot I get the following output in the console: 当遵循Heroku的部署指南并执行heroku git:clone -a groupmetweetbot我在控制台中得到以下输出: 在此处输入图片说明

If I continue on and execute the following: 如果我继续并执行以下操作:
$ cd groupmetweetbot
$ git add .
$ git commit -am "make it better"
$ git push heroku master

the console tells me that the app is deployed. 控制台告诉我该应用程序已部署。

This leaves me with a few questions. 这给我留下了几个问题。 How can I fic this filename too long issue? 我该如何解决这个文件名太长的问题? I can't find any easy answer on how to start and sleep my app on Heroku. 对于如何在Heroku上启动和睡眠我的应用程序,我找不到任何简单的答案。 Any help is greatly appreciated. 任何帮助是极大的赞赏。

you're hitting this bug https://github.com/npm/npm/issues/3697 您正在遇到此错误https://github.com/npm/npm/issues/3697

you could try using npm v3 您可以尝试使用npm v3

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

相关问题 在heroku上遇到node.js应用程序时遇到问题 - Having trouble with a node.js app on heroku 在 Heroku 上部署 Node.js 应用程序时出现 403 错误 - 403 error when deploying a Node.js app on Heroku 使用Heroku部署Node.js应用程序时公共目录的问题 - Problems with public directory when deploying Node.js app with Heroku 部署 Node.js/React 应用程序时 Heroku 构建失败 - Heroku build failure when deploying Node.js/React app 将Node.js应用程序部署到Heroku时出现“ ReferenceError:未定义压缩” - “ReferenceError: compression is not defined” when deploying Node.js app to Heroku 将node.js应用程序部署到Heroku-“未找到gruntfile”。 - Deploying node.js app to Heroku - “No gruntfile found.” 将我的 node.js 应用程序部署到数字海洋时遇到问题 - Having trouble deploying my node.js app to digital ocean Node.js Heroku App应用程序错误。 日志问题 - Node.js Heroku App application error. Trouble with logs 将Aurelia.js + io.js / node.js应用程序部署到heroku Github速率限制问题 - Deploying Aurelia.js + io.js/node.js app to heroku Github rate limit problems 将Node.js应用程序部署到heroku时发生Async.times错误(重复循环) - Async.times error when deploying Node.js app to heroku (repeated loop)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM