Skip to content
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

Can't compile angular project after upgrading to sentry 7.1.0 from 6.19.7 #5227

Closed
3 tasks done
jahusa02 opened this issue Jun 8, 2022 · 1 comment
Closed
3 tasks done

Comments

@jahusa02
Copy link

jahusa02 commented Jun 8, 2022

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which package are you using?

@sentry/angular

SDK Version

7.1.0

Framework Version

7.1.0

Link to Sentry event

No response

Steps to Reproduce

  1. create new Angular 13 project
  2. install @sentry/angular @sentry/tracing
  3. call sentry.init in main.ts (followed instructions on https://docs.sentry.io/platforms/javascript/guides/angular/)
  4. serve the application

Expected Result

Should compile and throw no errors

Actual Result

When I serve the application, the cli complains that sentry has to be processed and I should encourage you to publish an Ivy distribution.

Later the CLI throws following Error:
terminal

My package.json:

{
  "name": "test-14",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "watch": "ng build --watch --configuration development",
    "test": "ng test"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~13.3.0",
    "@angular/common": "~13.3.0",
    "@angular/compiler": "~13.3.0",
    "@angular/core": "~13.3.0",
    "@angular/forms": "~13.3.0",
    "@angular/platform-browser": "~13.3.0",
    "@angular/platform-browser-dynamic": "~13.3.0",
    "@angular/router": "~13.3.0",
    "@sentry/angular": "^7.1.0",
    "@sentry/tracing": "^7.1.0",
    "rxjs": "~7.5.0",
    "tslib": "^2.3.0",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~13.3.7",
    "@angular/cli": "~13.3.7",
    "@angular/compiler-cli": "~13.3.0",
    "@types/jasmine": "~3.10.0",
    "@types/node": "^12.11.1",
    "jasmine-core": "~4.0.0",
    "karma": "~6.3.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage": "~2.1.0",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "~1.7.0",
    "typescript": "~4.6.2"
  }
}
@lforst
Copy link
Member

lforst commented Jun 8, 2022

Hi, thank you for writing in! We are already aware of this issue, which got introduced in 7.1.0. We will release version 7.1.1 today which aims to fix this.

Closing this because duplicate of #5222

@lforst lforst closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants