前提・実現したいこと
herokuにrailsアプリをアップロードしたくて以下のコマンドを打ったのですが以下のエラーが出てしまいアップロードされません
$git push heroku master
発生している問題・エラーメッセージ
! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'https://git.heroku.com/XXXXXX.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
またこちらのコマンドを試してみましたが、以下のエラーが出てしまい進みません、、、
$git push heroku master -f
error @rails/webpacker@4.2.2: The engine "node" is incompatible with this module. Expected version ">=8.16.0". remote: error An unexpected error occurred: "Found incompatible module". remote: info If you think this is a bug, please open a bug report with the information provided in "/tmp/build_e378d51c90ba88fa3cc224daf5ad4a5d/yarn-error.log". remote: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。