January 8, 2022

Using specific node version in rails app.


When using node in a rails app, make sure to add node version information in package.json in “engines” section. Heroku will read the information in package.json to use the heroku build app. If node version is not added in package.json, heroku will use the default node stack, usually latest. Some legacy package may break with new node.

...
"engines": {
    "node": "12.19.0"
  },
...

You might also like...
Fix error in ruby. ruby is loading crypto in an unsafe way
Renaming tmux window
Ways of Managerial Communication
Types of Organizational Communication
Purpose of Business Communication
Need for communication
Importance of Communication
Definition of Communication
Characteristics and Benefits of Effective Communication
7 Cs of Effective Communication
Fixing mysql2 install error
Debugging Matplotlib
Ubuntu system program problem detected[Solved]
Serving Content through Cloudflare network
One liner server command in ruby
Free website using jekyll and free github hosting
How to install Jekyll ?
How to register for GithubEducation Pack ?
How to install Ruby on Linux

Follow