sentry-javascript: Error: Can't resolve '@sentry/angular/build/types/tracing
When i run ionic cordova build ios --prod
This is the error is get.
ERROR in ./src/app/app.module.ngfactory.js
Module not found: Error: Can't resolve '@sentry/angular/build/types/tracing' in
If is run ionic cordova build ios --env=prod
It builds fine.
I’m new with this can anyone help me out?
In package.jason
using "@angular/core": "^8.2.14",
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (6 by maintainers)
@kamilogorek @Lms24 I fixed the issue. Turns out when i run “npm install” Sentry tracing and sentry angular versions updated to 6.19.7. But in package.json stayed the same 6.16.1. Then i added @sentry/angular 6.16.1 and same for tracing. Then build it was a success