@bugsnag/plugin-react@7.5.3" has unmet peer dependency "@bugsnag/core@^7.0.0
See original GitHub issueDescribe the bug
When installing Bugsnag with the React plugin following the install instructions a peerDependency warning is show during yarn install
.
While it is listed as a peerDependency in package.json
the @bugsnag/core package actually says that it’s not likely something a user would want to install and the instruction in the React plugin README do not mention it.
Seems like an incorrect PeerDependency, or READMEs need to be updated?
Steps to reproduce
- Go to https://github.com/bugsnag/bugsnag-js/tree/next/packages/plugin-react#installation
- Add bugsnag to project with
yarn add @bugsnag/js @bugsnag/plugin-react
per install instructions - PeerDep warning will display
warning " > @bugsnag/plugin-react@7.5.3" has unmet peer dependency "@bugsnag/core@^7.0.0".
Environment
- Bugsnag version: 7.5.3
- Browser framework version (if any):
- React: 16.13.1
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Bugsnag docs › Platforms › Android
Learn how to integrate Bugsnag with your Android application for automatic crash reporting and detailed diagnostic reports.
Read more >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 >@bugsnag/js | Yarn - Package Manager
Automatically detect JavaScript errors in the browser, Node.js and React Native, with plugins for React, Vue, Angular, Express, Restify and Koa. Get cross- ......
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 FreeTop 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
Top GitHub Comments
We’ve just released
v7.16.5
ofbugsnag-js
which marks@bugsnag/core
as an optional peer dependency to avoid the warnings described above 🎉Hey @yousif-bugsnag 👋 Just checking if this is happening anytime soon, or if I could assist in any way here!