- Use
$ nvm lsto check your currently installed version. Set this version in thereinstall-packages-fromflag 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
Last active
January 4, 2019 19:54
-
-
Save rveitch/3bd8099fda3eb58d7600effa96eef1f0 to your computer and use it in GitHub Desktop.
Upgrading to Node 8.x
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 lsto check your currently installed version. Set this version in thereinstall-packages-fromflag in the next step. $ nvm install 8.11.1 --reinstall-packages-from=8.9.3$ nvm alias default 8.11.1- Run
$ grunt cleanor 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