简体   繁体   English

当我将 Procfile 推送到 master 以部署应用程序时,Dyno 不会出现

[英]Dyno won't show up when I push Procfile to master to deploy the app

When trying to deploy my app;尝试部署我的应用程序时; (an app for posting 18,982 screenshots to Twitter with a twitterbot I made, trying to run it in the background), I use Windows Command Prompt and I utilize node for pushing code to the master of my app but it I keep getting an error message and my dyno won't show up (even though the Procfile I made includes worker: node server.js (一个使用我制作的 twitterbot 将 18,982 个屏幕截图发布到 Twitter 的应用程序,试图在后台运行它),我使用 Windows 命令提示符,我利用 node 将代码推送到我的应用程序的主人,但我不断收到错误消息并且我的 dyno 不会出现(即使我制作的 Procfile 包括worker: node server.js

Here is the error message whenever I try to push to master.每当我尝试推送到 master 时,这是错误消息。

F:\xxxxxxxxxxxxxxxx>git push heroku master
Enumerating objects: 18996, done.
Counting objects: 100% (18996/18996), done.
Delta compression using up to 12 threads
Compressing objects: 100% (18988/18988), done.
Writing objects: 100% (18996/18996), 4.38 GiB | 108.26 MiB/s, done.
Total 18996 (delta 6), reused 18992 (delta 5)
remote:
remote: !       Size of checkout and restored submodules exceeds 1 GB. Reduce size and try pushing again.
remote:
To https://git.heroku.com/xxxxxxxxxxxxxxxxx.git
 ! [remote rejected]   master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/xxxxxxxxxxxxxxxxx.git'

I followed instructions from these tutorials:我按照这些教程中的说明进行操作:

The problem is not in your code.问题不在您的代码中。

The problem is that you are trying to upload code which exceeds 1GB....问题是您正在尝试上传超过 1GB 的代码....

Size of checkout and restored submodules exceeds 1 GB .检出和恢复的子模块的大小超过 1 GB Reduce size and try pushing again.减小尺寸并再次尝试推动。

Heroku limit your size to 500MB Heroku 将您的大小限制为 500MB

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

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