Requirements
Ensure you have the following installed:
Node.js
This project uses a specific Node.js version as indicated in the .nvmrc file.
Use nvm (Node Version Manager) to install/manage Node versions:
brew install nvm
Then, load nvm into your shell:
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && \. "/usr/local/opt/nvm/nvm.sh"
Once nvm is set up:
nvm install
nvm use
npm
This monorepo uses npm workspaces, which are supported out-of-the-box in npm 7+.
npm comes with Node.js. Verify your npm version:
npm -v
Verifying Versions
After setup, verify that you have the correct versions installed:
Node.js:
node -vThis should match the version specified in the
.nvmrcfile.