"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 issueFirebase: ^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:
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:
I’m really stuck into this problem and can’t go on, how do I resolve this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Right. Don’t use
^5.5.0
, use^5.0.0
.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.