Layer0 only supports Node.js version 14
Current recommended development version is Node.js v14
Quick node install with
# nvm nvm install 14 # n n install 14
npm is a package manager integrated into Node.
yarn is another very popular package manager.
Download and install it from the official Node.js v14.x downloads page. Select the download that matches your operating system and run the installer. Note that the installer for Node.js will also install npm.
For mac users,
brew install node is a quick way to get the latest node. You can then use
n to manage versions.
Note that while you can use any version of Node.js >= 14 locally, your app will run in Node 14 when deployed to the Layer0 cloud.
Therefore we highly suggest using Node 14 for all development.