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.

Thanks

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.

×
1 answer

Hi,

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.

Submit an Answer