以下でデプロイしようとすると、下記メッセージが出てきます。
以前はこのコードでデプロイできていたのですが、なぜ失敗するのかご存知の方いらっしゃいますでしょうか?
% heroku git push heroku main ↓↓↓ manage local git repository for app USAGE $ heroku git:COMMAND COMMANDS git:clone clones a heroku app to your local machine at DIRECTORY (defaults to app name) git:remote adds a git remote to an app repo
◆やってみたこと(アプリ名はここでは便宜上「アプリ名」としています)
・heroku git push heroku master :上記同様のメッセージが出ます
・heroku git:remote --app アプリ名 :以下のメッセージが出ます
set git remote heroku to https://git.heroku.com/アプリ名.git
・heroku git:clone --app アプリ名 :以下のメッセージが出ます
fatal: destination path 'アプリ名' already exists and is not an empty directory.
https://www.google.com/search?q=fatal%3A+destination+path+%27%E3%82%A2%E3%83%97%E3%83%AA%E5%90%8D%27+already+exists+and+is+not+an+empty+directory.&rlz=1C1PWSB_jaJP994JP994&oq=fatal%3A+destination+path+%27%E3%82%A2%E3%83%97%E3%83%AA%E5%90%8D%27+already+exists+and+is+not+an+empty+directory.&aqs=chrome..69i57j69i58.237449j0j4&sourceid=chrome&ie=UTF-8
回答1件
あなたの回答
tips
プレビュー