Installing node and yarn

March 4, 2022

Powershell config:

  • Run power shell terminal and execute below command line:
Set-ExecutionPolicy Unrestricted

Node:

Yarn:

  • install yarn = npm install -g yarn

Configuration:

  • configure CA certificate to include firewall certificate
npm config set cafile "<path-to-certificate.crt>”
yarn config set cafile "<path-to-certificate.crt>”
yarn config set "strict-ssl" false -g
# this doesn't work
npm install --legacy-peer-deps
npm install -g lerna