darrenhillconsulting
04/27/2020, 9:01 PMdarrenhillconsulting
04/27/2020, 9:02 PMPabloZ
04/27/2020, 9:02 PMdarrenhillconsulting
04/27/2020, 9:03 PMPabloZ
04/27/2020, 9:06 PMcurl -o- <https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh> | bash
Should do the trick. then you can run nvm use 12, 13 or whatever, in your mac user instead of globally. That way you'll be saving permission headaches.
After that you should run nvm use 12
, try doing which node
to see if it's using the /Users/{{yourname}}.nvm version
In my case for example:
/Users/pzignani/.nvm/versions/node/v12.6.0/bin/node
PabloZ
04/27/2020, 9:08 PMdarrenhillconsulting
04/27/2020, 9:12 PMdarrenhillconsulting
04/27/2020, 9:12 PMPabloZ
04/27/2020, 9:12 PMwhich node
?darrenhillconsulting
04/27/2020, 9:14 PM/Users/darrenhill/.nvm/versions/node/v12.16.2/bin/node
PabloZ
04/27/2020, 9:15 PMnpm install -g @oracle/suitecloud-cli
you get exactly the same error but with the new path?Ali Syed (NS DevTools QA)
04/27/2020, 10:51 PMsudo chmod -R 777 @oracle
Or
sudo chmod -R +x @oracle