Open zaziemo opened 1 month ago
Simply adding the node.js buildpack does not work. We need to have a package.json file
ERROR: Application not supported by 'heroku/nodejs' buildpack
remote: !
remote: ! The 'heroku/nodejs' buildpack is set on this application, but was
remote: ! unable to detect a Node.js codebase.
remote: !
remote: ! A Node.js app on Heroku requires a 'package.json' at the root of
remote: ! the directory structure.
remote: !
remote: ! If you are trying to deploy a Node.js application, ensure that this
remote: ! file is present at the top level directory. This directory has the
remote: ! following files:
Installing a default version (20.9.0) of Node.js. remote: This version is not pinned and can change over time, causing unexpected failures. remote: remote: Heroku recommends placing the
heroku/nodejs
buildpack in front of remote:heroku/ruby
to install a specific version of node: remote: remote: https://devcenter.heroku.com/articles/ruby-support#node-js-support