I am trying to get the node version for when building my rails app on Heroku to 14.18.2. I am unsure on how to change this as I have put the
"engines": {"node": "14.18.2"}
in my package.json file. By doing this it builds perfectly on my local/repo but, when deploying to heroku and building with heroku it gives me this error
[1/5] Validating package.json...
error @: The engine "node" is incompatible with this module. Expected version "14.18.2". Got "16.13.1"
error Found incompatible module.
How do I change this to build with the version I need?
Here is my buildpacks
1. https://github.com/gaffneyc/heroku-buildpack-jemalloc.git
2. heroku/metrics
3. heroku/ruby
Thank you for your help!