update node version for a React App using App Platform

Posted October 28, 2020 4.8k views
Node.jsDigitalOcean App Platform

Hi ,

I am adding my git source through app platform.Is there any way to change node version because my source code having different version, node version which is being extracted on app platform while compiling is different.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


You can configure the Node version using the engines property in package.json. For example:

  "engines" : { 
    "node" : "12.19.0" 

This can also be used to set the NPM or Yarn versions if required.