Skip to content

Add support for Angular 11 #3145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 5 tasks
hisham opened this issue Dec 28, 2020 · 2 comments · Fixed by #3201
Closed
1 of 5 tasks

Add support for Angular 11 #3145

hisham opened this issue Dec 28, 2020 · 2 comments · Fixed by #3201

Comments

@hisham
Copy link

hisham commented Dec 28, 2020

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other: @sentry/angular

Version:

5.29.2

Description

I'm upgrading to Angular 11 and get this warning:

npm WARN @sentry/[email protected] requires a peer of @angular/common@^10.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN @sentry/[email protected] requires a peer of @angular/core@^10.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN @sentry/[email protected] requires a peer of @angular/router@^10.0.3 but none is installed. You must install peer dependencies yourself.

@dneukirchen
Copy link

dneukirchen commented Jan 20, 2021

npm WARN @sentry/[email protected] requires a peer of @angular/common@^10.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN @sentry/[email protected] requires a peer of @angular/core@^10.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN @sentry/[email protected] requires a peer of @angular/router@^10.0.3 but none is installed. You must install peer dependencies yourself.

still exists in 6.0.0 (and angular 11)

@steinbachio
Copy link

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"^11.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^10.0.3" from @sentry/[email protected]
npm ERR! node_modules/@sentry/angular
npm ERR! @sentry/angular@"^6.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants