2016-03-24 10 views
0

ノードのjsアプリケーションをherokuにデプロイしようとしていますが、それノードのjsアプリケーションをherokuにデプロイしようとしていますが、マスターにプッシュするときにエラーが発生し続けます

git push heroku master 
remote: Compressing source files... done. 
remote: Building source: 
remote: 
remote: -----> Fetching set buildpack https://github.com/heroku/heroku-buildpack-nodejs.git... done 
remote: 
remote: !  Push rejected, failed to detect set buildpack https://github.com/heroku/heroku-buildpack-nodejs.git 
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure 
remote: 
remote: Verifying deploy... 
remote: 
remote: ! Push rejected to accessmusic. 
remote: 

package.jsonファイル

{ 
"name": "Access", 
"version": "0.0.0", 
"main": "server.js", 
"private": true, 
"scripts": { 
"start": "node ./bin/www" 
}, 
"dependencies": { 
"body-parser": "~1.13.2", 
"cookie-parser": "~1.3.5", 
"debug": "~2.2.0", 
"express": "~4.13.1", 
"jade": "~1.11.0", 
"morgan": "~1.6.1", 
"serve-favicon": "~2.3.0" 
}, 
"engines": { 
"node": "4.0.0" 
}, 
"keywords": [ 
"node", 
"heroku", 
"express" 
] 
} 

Image of terminal and error

答えて

0

あなたは

+0

Iアップデートを使用しているNPMパッケージを定義するpackage.jsonファイルが欠落してもよいbuildpack設定フェッチについて私のコードをpackage.jsonファイル – user6032625

+0

"start": "node ./bin/www"を "start"に変更してみてください: "node server.js" – jmona789

関連する問題