Enumerating objects: 3, done. Counting objects: 100% (3/3), done. Delta compression using up to 24 threads Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 328 bytes | 328.00 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0) remote: Compressing source files... done. remote: Building source: remote: remote: -----> Building on the Heroku-20 stack remote: -----> Determining which buildpack to use for this app remote: ! No default language could be detected for this app. remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically. remote: See https://xxxxxxxxxxxxxxxxx remote: remote: ! Push failed remote: ! remote: ! ## Warning - The same version of this code has already been built: 7389bd3692667287c63ea51354ae50385f042bed remote: ! remote: ! We have detected that you have triggered a build from source code with version remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch. remote: ! remote: ! If you are developing on a branch and deploying via git you must run: remote: ! remote: ! git push heroku <branchname>:main remote: ! remote: ! This article goes into details on the behavior: remote: ! https://devcenter.heroku.com/xxxxxxxxxxxxxxxxxxxxx remote: remote: Verifying deploy... remote: remote: ! Push rejected to shrouded-river-77898. remote: To https://git.heroku.com/shrouded-river-77898.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/xxxxxxxxxxxxxxx'
heroku側のログではこのように
-----> Building on the Heroku-20 stack -----> Determining which buildpack to use for this app ! No default language could be detected for this app. HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically. See https://devcenter.heroku.com/articles/buildpacks ! Push failed
Herokuで試しにhello worldを表示させようとデプロイしようとたらなぞのエラーが出てきました
このエラーの意味がわかりません これはどういう状態ですか?
エラーの原因(できれば解決方法も)がわかる人教えてください
やったこと準
herokuにログイン
cd test
git init
git add .
git commit
heroku create
git push heroku master
(ここでエラーが出た)
os win10
デプロイしようとしてるもの hello worldを表示させるようにしたindex.htmlのみ
気になる事 herokuでは複数アプリケーションを作れますがgit push heroku masterでどうやって
どのアプリにデプロイするのかを指定してるのかがわかりません (エラーに関係あるかも?と思ったので書いておきました )
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。