Не получается сделать push в heroku выходит ошибка error: failed to push some refs
Не получается сделать push в heroku выходит следующее:
Some possible problems:
remote:
remote: - Node version not specified in package.json
remote: https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
remote:
To https://git.heroku.com/tabel-tasks.git
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/tabel-tasks.git'
В package.json - добил версию node, но проблема не изменилась. В чем может быть проблема? Буду рад любой помощи.
//package.json
"name": "myapp",
"description": "a really cool app",
"version": "1.0.0",
"engines": {
"node": "16.x"
}
,
"private": true,
"scripts": {
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
"production": "mix --production",
"postinstall": "npm run prod"
},
"devDependencies": {
"@babel/plugin-syntax-top-level-await": "^7.14.5",
"axios": "^0.21.1",
"laravel-mix": "^6.0.27",
"lodash": "^4.17.19",
"postcss": "^8.1.14"
},
"dependencies": {
"bootstrap-icons": "^1.5.0"
}
}