[0.1.0] Unmet peer dependency error where none is missing
See original GitHub issueI ran:
npm i @fortawesome/fontawesome-svg-core@prerelease \
@fortawesome/free-solid-svg-icons@prerelease \
@fortawesome/vue-fontawesome@prerelease
npm yields:
npm WARN @fortawesome/vue-fontawesome@0.1.0-4 requires a peer of @fortawesome/fontawesome-svg-core@>= 1.2.0 < 1.3 but none is installed. You must install peer dependencies yourself.
Excerpt from package.json:
"dependencies": {
"@fortawesome/fontawesome-svg-core": "1.2.0-14",
"@fortawesome/free-solid-svg-icons": "5.1.0-11",
"@fortawesome/vue-fontawesome": "0.1.0-4",
...
}
Might be related to #60.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
How do I fix the npm UNMET PEER DEPENDENCY warning?
UNMET PEER DEPENDENCY error is thrown when the dependencies of one or more modules specified in the package.json file is not met.
Read more >Error npm UNMET PEER DEPENDENCY warning - Edureka
UNMET PEER DEPENDENCY error is thrown when the dependencies of one or more modules specified in the package.json file is not met.
Read more >styled-components@5.3.5" has unmet peer dependency ...
A peer dependency should be installed by yourself. Usually, the purpose is to prevent version conflicts. So, when you read a message such...
Read more >Issues trying to install live server. - Salesforce Developers
Upgrade to chokidar 3 with 15x less dependencies. warning @salesforce/lwc-dev-server ... has unmet peer dependency "request@^2.34". error ...
Read more >The Step-by-Step Guide to Understanding and Adopting npm 7
npm WARN npm6@1.0.0 requires a peer of react@>= 16.12.0 but none is ... Missing peer dependency warnings are displayed as errors with the ......
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
We don’t have a future pre-release yet. However, I don’t think we’re going to use ranges with prerelease versions any longer (they just are not predictable between tools). So the underlying issue for this won’t be an issue in the future.
Yeah we probably need to change this. We chose the current scheme based on https://semver.org/#spec-item-9. I wonder if our issues could be considered a bug in the
semver
package.