NX + Angular + Sentry

I’m trying to upload the maps to sentry (self instance) but even getting code 0 as a outcome the files aren’t showing on artifacts in sentry, i’m using Nx and uploading file from Angular App (nx 12.10, Angular 12, “@sentry/angular”: “7.47.0”).

That’s the cmd:

"upload": "sentry-cli --url https://sentry.production.mycompany.com/ sourcemaps upload --org=mycompany --project=project-cms --strict --rewrite sentry_environment=production --release=--release ./dist --url-prefix='~/dist'",

Does anyone faced for this before to help me 🙂

I’ve tried to exec the commands with release tag and without, created many releases since this sentry version do not allows upload bundle source maps without release, however not success.

Leave a Comment