Comments (4)
so you are using the vite plugin and the cli to upload sourcemaps? I recommend removing one or the other.
Yep, that was it, many thanks!!! Messed up a bit!
So it seems I created debug ids two times and uploaded two different packs to Sentry. And latest pack was not the one was running by Vite locally. Interesting that with sourcemap: 'inline'
it worked
from sentry-javascript-bundler-plugins.
so you are using the vite plugin and the cli to upload sourcemaps? I recommend removing one or the other.
from sentry-javascript-bundler-plugins.
build.sourcemap: true
is fine. Do you have any other tools or plugins in your build pipeline? Some of them may generate faulty source maps.
from sentry-javascript-bundler-plugins.
build.sourcemap: true
is fine. Do you have any other tools or plugins in your build pipeline? Some of them may generate faulty source maps.
"scripts": {
"start": "vite",
"build": "tsc && vite build ",
"build_sentry": "tsc && vite build && npm run sentry:sourcemaps",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org ng-hp --project my-project-front ./build && sentry-cli sourcemaps upload --org ng-hp --project my-project-front ./build"
},
I run npm run build_sentry
and then npm run preview
to serve build and trigger error button
from sentry-javascript-bundler-plugins.
Related Issues (20)
- Too many source-maps cause rate-limiting from the sentry API HOT 8
- Source Maps aren't mapped when working with docker HOT 5
- vite-plugin uploads sourcemaps when building for development HOT 1
- Sourcemapping broken with vite 5.1.7 and 5.2.10 HOT 9
- Cannot read properties of undefined (reading 'sentry') when using reactComponentAnnotation with @react-three/fiber HOT 2
- `sourcemaps.rewriteSources` doesnโt apply new source value HOT 8
- Upload sourcemaps for multiple environments HOT 7
- `isOlderThan` is not a function HOT 8
- [Help]: Change project release details for uploaded sourcemaps HOT 2
- Dont log warnings when certain features are disabled
- Esbuild Crash Warning HOT 3
- `moduleMetadata` and or `moduleMetadataIntegration` do not work with `vite-plugin` HOT 6
- Source Maps not loading on sentry HOT 15
- Nuxt with sentryVitePlugin: Cannot read properties of undefined (reading 'startsWith') HOT 5
- Vite plugin logging to stdout instead of stderr HOT 2
- Cannot build with Vite and latest sentry plugin version HOT 7
- sentry does not consider sourcemaps HOT 1
- esbuild plugin causing error in Nx Angular CLI (angular 17)
- `filesToDeleteAfterUpload` is deleting files before upload in latest versions HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-javascript-bundler-plugins.