rveitch
11/14/2017 - 7:37 PM

Upgrading to Node 8

Upgrading to Node 8.x

Upgrading to Node 10.15

  • Use $ nvm ls to check your currently installed version. Set this version in the reinstall-packages-from flag in the next step.
  • $ nvm install 10.15.0 --reinstall-packages-from=10.14.2
  • $ nvm alias default 10.15.0
  • Install dependencies again: npm install
  • Set your PHPStorm node interpreter version to 10.15.0

Upgrading to Node 8

Upgrading from node 6 to 8 on OSX can lead to some wonky SHA1/SHA512 incompatibilities if you don’t clear your packages first.

  • Use $ nvm ls to check your currently installed version. Set this version in the reinstall-packages-from flag in the next step.
  • $ nvm install 8.11.1 --reinstall-packages-from=8.9.3
  • $ nvm alias default 8.11.1
  • Run $ grunt clean or manually delete your node_modules from coschedule/api, coschedule/web and the main directory (coschedule/)
  • Clean your npm cache: $ npm cache clean --force
  • Revert the changes in your package-lock.json file (and this file only). (IF package-lock changes occurred during this process)
  • Install dependencies again: npm install