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.

"angularfire2@5.0.0-rc.4 requires a peer of ... but none is installed" error, tried modifying package.json with angular/core@^5.5.0 but no matching version found

See original GitHub issue

Firebase: ^4.5.0

AngularFire: ^5.0.0-rc.4

I’m gonna explain straight the problem 'cause it is a bit complicated with the pattern … I’ve cloned an Ionic project from github, then run ionic serve and installed the missing modules. The problem came up with the installation of angulafire2, using npm npm install angularfire2 . It tells me this:

image

and if I run ionic serve the error page comes up saying that it can’t find the module @firebase/app even if it was installed. So I’ve tried following what the warning told me, and changed the versions of angular/common, angular/core etc to ^5.0.0 as requested by angularfire2, then run npm install, but an error shows up:

image

I’m really stuck into this problem and can’t go on, how do I resolve this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
davideastcommented, Jan 3, 2018

Right. Don’t use ^5.5.0, use ^5.0.0.

0reactions
awsauniercommented, Feb 4, 2018

This is no longer a problem for me. The npm instructions gave me errors but I installed it a different way with npm and then there were no errors.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"angularfire2@5.0.0-rc.4 requires a peer of ... but none is ...
"angularfire2@5.0.0-rc.4 requires a peer of ... but none is installed" error, tried modifying package.json with angular/core@^5.5.0 but no matching version ...
Read more >
npm WARN ... requires a peer of ... but none is installed. You ...
I tried to change the version based on this question. However, I had a problem, because some packages require multiple versions other packages....
Read more >
you must install peer dependencies yourself Code Example
npm WARN @angular/compiler-cli@8.2.14 requires a peer of typescript@>=3.4 <3.6 but none is installed. You must install peer dependencies yourself. npm install ...
Read more >
automatically install peer dependencies - You.com | The AI ...
"A requires a peer of B but none was installed". Consider it as "A requires one of B's peers but that peer was...
Read more >
Understanding Peer Dependencies in JavaScript
Peer dependencies are almost like normal dependencies, but instead of defining a strong requirement between A and B (i.e the project you're ...
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