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.

@bugsnag/plugin-react unmet peer dependency

See original GitHub issue

Installing the new v5 of Bugsnag by following the instructions on https://docs.bugsnag.com/platforms/javascript/react/ results in the following warning on the console:

warning " > @bugsnag/plugin-react@5.0.0" has unmet peer dependency "@bugsnag/browser@* || >=5.0.0-rc.1".

It’s only a warning but suggest either making @bugsnag/browser a dependency or add it to the installation instructions if it’s actually required.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
bengourleycommented, Nov 29, 2018

I agree it could be confusing. Thanks for bringing it up 🙏

@bugsnag/browser is installed as a dependency of @bugsnag/js, so it shouldn’t complain after it’s resolved everything. I’ll get this looked into.

1reaction
bengourleycommented, Jan 31, 2019

Ah, apologies! I’ve updated the dist-tags for the plugins now too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UNMET PEER DEPENDENCY with react - Stack Overflow
When I've install my react using npm it complains about peer dependencies of react and react-height: ├─┬ UNMET PEER DEPENDENCY react@0.14.9 ...
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 >
react warning > @testing-library/user-event@13.5.0 ... - You.com
YARN warning "has unmet peer dependency". What do with this? ... A peer dependency should be installed by yourself. Usually, the purpose is...
Read more >
React integration guide - JavaScript - Bugsnag docs
To start Bugsnag with the React integration, instantiate the BugsnagPluginReact and pass it along with your API key to Bugsnag.start as configuration:
Read more >
warning " > styled-components@5.3.6" has unmet peer ...
Has anyone come across this error when deploying to a next js app to vercel? warning " > styled-components@5.3.6" has unmet peer dependency…...
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