question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm install --save angularfire2 fails with EPERM error

See original GitHub issue

Installing angularfire2 fails with EPERM error npm install --save angularfire2

Console log `> angularfire2@2.0.0-alpha.12 postinstall /Users/pinal.bhatt/Downloads/plunk/node_modules/angularfire2

typings install; webdriver-manager update

└── es6-shim (ambient)

selenium standalone is up to date. chromedriver is up to date. /usr/local/lib/node_modules/webdriver-manager/selenium/chromedriver_2.21.zip /usr/local/lib/node_modules/webdriver-manager/selenium fs.js:997 return binding.chmod(pathModule._makeLong(path), modeNum(mode)); ^

Error: EPERM: operation not permitted, chmod ‘/usr/local/lib/node_modules/webdriver-manager/selenium/chromedriver’ at Error (native) at Object.fs.chmodSync (fs.js:997:18) at /usr/local/lib/node_modules/webdriver-manager/lib/index.js:486:14 at WebdriverManager._downloadIfNew (/usr/local/lib/node_modules/webdriver-manager/lib/index.js:242:7) at /usr/local/lib/node_modules/webdriver-manager/lib/index.js:477:12 at /usr/local/lib/node_modules/webdriver-manager/node_modules/async/lib/async.js:567:21 at /usr/local/lib/node_modules/webdriver-manager/node_modules/async/lib/async.js:246:17 at /usr/local/lib/node_modules/webdriver-manager/node_modules/async/lib/async.js:122:13 at _each (/usr/local/lib/node_modules/webdriver-manager/node_modules/async/lib/async.js:46:13) at async.each (/usr/local/lib/node_modules/webdriver-manager/node_modules/async/lib/async.js:121:9) npm WARN enoent ENOENT: no such file or directory, open ‘/Users/pinal.bhatt/Downloads/plunk/package.json’ npm WARN angularfire2@2.0.0-alpha.12 requires a peer of angular2@2.0.0-beta.7 but none was installed. npm WARN angularfire2@2.0.0-alpha.12 requires a peer of firebase@2.4.1 but none was installed. npm WARN angularfire2@2.0.0-alpha.12 requires a peer of rxjs@5.0.0-beta.2 but none was installed. npm WARN plunk No description npm WARN plunk No repository field. npm WARN plunk No README data npm WARN plunk No license field. npm ERR! Darwin 15.3.0 npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “–save” “angularfire2” npm ERR! node v4.4.0 npm ERR! npm v3.8.2 npm ERR! code ELIFECYCLE

npm ERR! angularfire2@2.0.0-alpha.12 postinstall: typings install; webdriver-manager update npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angularfire2@2.0.0-alpha.12 postinstall script ‘typings install; webdriver-manager update’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the angularfire2 package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! typings install; webdriver-manager update npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angularfire2 npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls angularfire2 npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/pinal.bhatt/Downloads/plunk/npm-debug.log`

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jeffbcrosscommented, Mar 24, 2016

It should work fine with latest angular. And the npm install actually succeeds even though it gives a scary error. I’ll publish a new version with upgraded angular dep soon. On Thu, Mar 24, 2016 at 4:53 PM Pinal Bhatt notifications@github.com wrote:

@jeffbcross https://github.com/jeffbcross thanks but still there seems hard dependency on “angular2”: “2.0.0-beta.7”.

is it must to have angular2@2.0.0-beta.7?

`npm ERR! Darwin 15.4.0 npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “angularfire2” “–save” npm ERR! node v4.4.1 npm ERR! npm v2.14.20 npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package angular2@2.0.0-beta.9 does not satisfy its siblings’ peerDependencies requirements! npm ERR! peerinvalid Peer angularfire2@2.0.0-alpha.13 wants angular2@2.0.0-beta.7 `

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/angular/angularfire2/issues/100#issuecomment-201076637

0reactions
pinalbhattcommented, Mar 25, 2016

Gr8. Thanks @jeffbcross

Read more comments on GitHub >

github_iconTop Results From Across the Web

Npm install error EPERM Operation not permitted
I had the same issue. After cache clean and updating npm everything is ok. So try to run: npm cache clean --force. npm...
Read more >
Angular JS npm install error - code EPERM error no 4048
Angular JS 4npm error code " EPERM " Error no 4048Command to fix this error : npm cache clean --forceError: EPERM : operation...
Read more >
angularfire2 - npm
Start using angularfire2 in your project by running `npm i angularfire2`. There are 115 other projects in the npm registry using angularfire2.
Read more >
angular/angular - Gitter
npm ERR! npm ERR! Failed at the grpc@1.10.1 install script. npm ERR! This is probably not a problem with npm. There.
Read more >
[Solved]-npm packges are not install getting error-angular.js
Follow below steps 1. Remove node_modules folder 2. open CLI and run npm cache clean --force 3. Install npm modules again 4. Run....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found