Skip to content

Instantly share code, notes, and snippets.

@rveitch
Last active January 4, 2019 19:54
Show Gist options
  • Select an option

  • Save rveitch/3bd8099fda3eb58d7600effa96eef1f0 to your computer and use it in GitHub Desktop.

Select an option

Save rveitch/3bd8099fda3eb58d7600effa96eef1f0 to your computer and use it in GitHub Desktop.
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 image

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment