You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Potential bug or security issue with El Capitan OS.
I experienced a problem installing angular-cli on my mac. I was able to get the package to install by using the following command:
sudo npm install -g angular-cli --unsafe-perm=true
I think it may be an issue with El Capitan. Thought others might want to know about this potential workaround. Everything appears to be working correctly after install.
OS. Mac OSX (El Capitan)
Versions.
ng --version:
angular-cli: 0.0.29
node: 4.4.1
os: darwin x64
When installing angular-cli, process failed on brocolli install
Error Details:
$sudo npm install -g angular-cli
Password:
npm WARN deprecated [email protected]: This package has been discontinued in favor of lodash@^4.0.0.
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm ERR! Error: EACCES: permission denied, mkdir '/Users/MyUserName/.npm/broccoli-plugin/1.0.0'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES: permission denied, mkdir '/Users/MyUserName/.npm/broccoli-plugin/1.0.0']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/Users/MyUserName/.npm/broccoli-plugin/1.0.0' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
|
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/lib/node_modules/angular-cli/node_modules/broccoli/test/multidep/broccoli-plugin-1.0.0/npm-debug.log
Error: npm exited with exit code 243, signal null
at ChildProcess. (/usr/local/lib/node_modules/angular-cli/node_modules/multidep/index.js:90:28)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "angular-cli"
npm ERR! node v4.4.1
npm ERR! npm v2.14.20
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: multidep test/multidep.json
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'multidep test/multidep.json'.
npm ERR! This is most likely a problem with the broccoli package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! multidep test/multidep.json
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs broccoli
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls broccoli
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/MyUserName/Documents/mobile/npm-debug.log
Useful details: I was able to get the package to install by using the following command:
sudo npm install -g angular-cli --unsafe-perm=true
I think it may be an issue with El Capitan.
The text was updated successfully, but these errors were encountered:
Potential bug or security issue with El Capitan OS.
I experienced a problem installing angular-cli on my mac. I was able to get the package to install by using the following command:
sudo npm install -g angular-cli --unsafe-perm=true
I think it may be an issue with El Capitan. Thought others might want to know about this potential workaround. Everything appears to be working correctly after install.
OS. Mac OSX (El Capitan)
Versions.
When installing angular-cli, process failed on brocolli install
Error Details:
sudo npm install -g angular-cli --unsafe-perm=true
I think it may be an issue with El Capitan.
The text was updated successfully, but these errors were encountered: