所以我试图将我的节点应用程序推送到heroku,但我不断收到这个错误:
! Heroku push rejected, no Cedar-supported app detected
To git@heroku.com:*************.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@***************.git'
我heroku create --stack cedar
按照本文的建议创建了这个应用程序:将 Geddy 部署到 Heroku,但遗憾的是这对我没有好处。
更新:我的package.json
{
"name": "site",
"version": "0.0.1",
"dependencies": {
"express": "3.x",
"jade": ">= 0.0.1",
"coffee-script": "~1.4.0",
"node-dev": "~0.2.9",
"connect-flash": "~0.1.0",
"connect-assets": "~2.3.3",
"everyauth": "~0.2.34",
"mongoose": "~3.5.3",
"mongodb": "~1.2.7",
"crypto": "0.0.3",
"moment": "~1.7.2"
},
"engines": {
"node": "0.8.x",
"npm": "1.1.x"
}
}