-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Hi,
I am upgrading angular/cli, just before that I have uninstall/deleted existing node.js, npm, typescript and cli globally and locally. Reinstalled the latest node.js with npm and typescript.
Now I am installing cli with
sudo npm install -g @angular/cli@latest
on terminal and it's taking over 15 minutes (previous installation took 3 minutes), keep on showing the following message in iteration (pasted below) and heating up my laptop.
Is it normal?
Thanks.
Fuad
Machine Configuration:
Angular CLI: 1.5.0
Node: 8.9.1
Angular:
...
OS: darwin x64 Sierra 10.12.6
Message:
gyp verb command install [ '8.9.1' ]
gyp verb install input version string "8.9.1"
gyp verb install installing version: 8.9.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 8.9.1
gyp verb ensuring nodedir is created /usr/local/lib/node_modules/@angular/cli/node_modules/node-sass/.node-gyp/8.9.1
gyp WARN EACCES user "root" does not have permission to access the dev dir "/usr/local/lib/node_modules/@angular/cli/node_modules/node-sass/.node-gyp/8.9.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/@angular/cli/node_modules/node-sass/.node-gyp"
gyp verb tmpdir == cwd automatically will remove dev files after to save disk space