Node.js
If you need Node.js available within your existing website which is based
on another type, you can enable node by setting nvm
to true
within the Custom JSON Website Level Configuration:
{
"nvm": true
}
Warning
Use only to enable node within another website type for actions like gulp. To run your own node based website, use the Node.js type.
By default, the latest Node.js LTS version will be installed, however you can also install and select any other version:
$ nvm ls-remote
$ nvm install <version>
$ nvm alias default <version>
Tip
See the nvm readme for details.