初めてHeroku挑戦してます。
Pushすると以下のようにエラーになります。
DOS
1C:\>mkdir hoge 2 3C:\>cd hoge 4 5C:\hoge>git init 6Initialized empty Git repository in C:/hoge/.git/ 7 8C:\hoge>git add . 9 10C:\hoge>git commit -m "first" 11[master (root-commit) 51d976f] first 12 1 file changed, 1 insertion(+) 13 create mode 100644 aaa.txt 14 15C:\hoge>heroku create 16Creating app... done, gentle-lowlands-95251 17https://gentle-lowlands-95251.herokuapp.com/ | https://git.heroku.com/gentle-low 18lands-95251.git 19 20C:\hoge>git push heroku master 21Counting objects: 3, done. 22Writing objects: 100% (3/3), 214 bytes | 0 bytes/s, done. 23Total 3 (delta 0), reused 0 (delta 0) 24remote: Compressing source files... done. 25remote: Building source: 26remote: 27remote: ! No default language could be detected for this app. 28remote: HINT: This occurs when Heroku cannot detect the 29buildpack to use for this application automatically. 30remote: See https://devcenter.heroku.com/articles/buildp 31acks 32remote: 33remote: ! Push failed 34remote: Verifying deploy... 35remote: 36remote: ! Push rejected to gentle-lowlands-95251. 37remote: 38To https://git.heroku.com/gentle-lowlands-95251.git 39 ! [remote rejected] master -> master (pre-receive hook declined) 40error: failed to push some refs to 'https://git.heroku.com/gentle-lowlands-95251 41.git' 42 43
ネットの情報だと、回避策としてmargeさせる方法が目立ちますが
初めて作成したアプリです。
別名でフォルダ、ファイルを新しく作り直しても同じ結果になります。
何故エラーになるのでしょう?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/04/05 09:11