Heroku:推送拒绝,没有Cedar支持

时间:2016-03-12 11:01:14

标签: git meteor heroku

我制作了一个Meteor应用程序,刚刚发现了Heroku,我想在那里部署它。

我的应用Git目前托管在Bitbucket上,但git push heroku master被拒绝,并显示以下消息:

  

推送拒绝,未检测到Cedar支持的应用

我尝试使用我的应用详情git add remote,但已添加。

Heroku是否应该拥有自己的Git,在我原来的Git中?

2 个答案:

答案 0 :(得分:1)

查看项目目录中的<div id="circli" class="svg-container"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 194 186" class="circliful"> <g stroke="#ccc"> <line x1="133" y1="50" x2="140" y2="40" stroke-width="2"></line> </g> <g stroke="#ccc"> <line x1="140" y1="40" x2="200" y2="40" stroke-width="2"></line> </g> <circle cx="100" cy="100" r="57" class="border" fill="#eee" stroke="none" stroke-width="15" stroke-dasharray="360" transform="rotate(-90,100,100)"></circle> <circle class="circle" cx="100" cy="100" r="57" fill="none" stroke="#3498DB" stroke-width="5" stroke-dasharray="180, 20000" transform="rotate(-90,100,100)"></circle> <text text-anchor="middle" x="100" y="113" class="icon" style="font-size: 40px" fill="#3498DB"></text> <text class="timer" text-anchor="middle" x="175" y="35" style="font-size: 22px; undefined;" fill="#aaa">50%</text> </svg> </div> <div id="circlj" class="svg-container"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 194 186" class="circliful"> <g stroke="#ccc"> <line x1="133" y1="50" x2="140" y2="40" stroke-width="2"></line> </g> <g stroke="#ccc"> <line x1="140" y1="40" x2="200" y2="40" stroke-width="2"></line> </g> <circle cx="100" cy="100" r="57" class="border" fill="#eee" stroke="none" stroke-width="15" stroke-dasharray="360" transform="rotate(-90,100,100)"></circle> <circle class="circle" cx="100" cy="100" r="57" fill="none" stroke="#3498DB" stroke-width="5" stroke-dasharray="180, 20000" transform="rotate(-90,100,100)"></circle> <text text-anchor="middle" x="100" y="109.5" class="icon" style="font-size: 30px;" fill="#3498DB"></text> <text class="timer" text-anchor="middle" x="175" y="35" style="font-size: 22px; undefined;" fill="#aaa">50%</text> </svg> </div>文件。

如果其中包含.gitignore,请将其删除并再次尝试推送。

这应解决问题。

答案 1 :(得分:1)

我遇到了同样的问题

  

&#34; Heroku错误消息未检测到Cedar支持的应用&#34;

我花了一些时间对它进行排序,解决方案可以在这里找到

http://www.panayiotisgeorgiou.net/heroku-error-message-no-cedar-supported-app-detected/

首先,您需要进入项目目录

执行以下操作:cd path/to/root/of/your/project并再次尝试该命令。

重新初始化.git文件:

rm -rf .git
git init
git add .
git commit -am "Reinitialize"
heroku create --stack cedar
git push heroku master