Skip to content

@sentry/angular: add support for ng12 #3559

@Badisi

Description

@Badisi

Package + Version

  • @sentry/angular

Version:

6.4.0

Description

New stable angular application are now generated with Angular 12.

Installing the latest version of @sentry/angular with npm will result in the following conflict :

ng-app % npm install @sentry/angular
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@"~12.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"10.x || 11.x" from @sentry/[email protected]
npm ERR! node_modules/@sentry/angular
npm ERR!   @sentry/angular@"*" 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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions