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.

[BUG] "@micro-sentry/core" peer dependency in "@micro-sentry/angular" package

See original GitHub issue

🐞 Bug report

Description

Since @micro-sentry/core is peer dependency instead of “hard” dependency, user has to install it explicitly. Either installation instructions should be updated or @micro-sentry/core should be upgraded to “hard” dependency.

sentry core

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
MarsiBarsicommented, Jun 17, 2021

We have a custom semrel angular builder here that should solve this case automatically but something went wrong 😦 Igor will check the builder and one of us will check the problem about added peer soon

1reaction
MarsiBarsicommented, Jun 16, 2021

Hey Tomas 👋 Thank you very much for your issue! Interesting…

So, the angular package has a “hard” dependency to @micro-sentry/browser that uses @micro-sentry/core inside. But it does not use @micro-sentry/core directly at all and it is not in its peer deps. @IKatsuba take a look, please, it seems that something (nx? builders?) adds extra peer dependency while building

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] `peerDependency` package version doesn't resolve ...
Is there an existing issue for this? I have searched the existing issues There are some similar existing issues like #4442 and #4104, ......
Read more >
How do I read npm "conflicting peer dependency" error ...
My general understanding of a "conflicting peer dependency" error is that some package I depend upon is expressing a peer dependency on a ......
Read more >
Understanding Peer Dependencies in JavaScript
You want to declare things such as babel itself as a peer dependency. Express middleware packages: This is just one example of an...
Read more >
check-peer-dependencies - npm
Checks peer dependencies of the current package. Offers solutions for any that are unmet.. Latest version: 4.1.0, last published: a year ago ...
Read more >
Difference between dependencies, devDependencies and ...
Peer Dependencies : In package.json file, there is an object called as peerDependencies and it consists of all the packages that are exactly ......
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