Giter Club home page Giter Club logo

Comments (15)

lforst avatar lforst commented on August 27, 2024

Sadly we have very little information in this issue. Since version 2.11.0 is already quite old (assuming you mean 22.11.0) I would try upgrading Sentry as a first step and also look into the logs of the symbolicator container/service.

from sentry-javascript-bundler-plugins.

monika-agg avatar monika-agg commented on August 27, 2024

symbolicator
sorry, for the version mistake.
and Yes, the version is 22.11.0.

do i have to update sentry, even with the approach of publically hosting the sourcemap ?

Isn't there anything i can do on v22.11.0 only?

from sentry-javascript-bundler-plugins.

lforst avatar lforst commented on August 27, 2024

@monika-agg you don't have to upgrade when publicly hosting the sourcemaps but it will likely be easier to debug and you can also use newer methods of uploading source maps.

Isn't there anything i can do on v22.11.0 only?

The troubleshooting part is unfortunately up to you. Since you are self-hosted I can't give you much guidance simply because I have no insight into your setup. As I said, I recommend looking in the symbolicator logs.

from sentry-javascript-bundler-plugins.

MateuszGroth avatar MateuszGroth commented on August 27, 2024

I am also having issues with uploading sourcemaps to sentry. I am using the following packages

    "@sentry/cli": "2.32.1",
    "@sentry/webpack-plugin": "2.18.0",
    "@swc/core": "1.6.1",

Caution

ERROR failed to read input source map: failed to parse inline source map URL ./bmSWWllS1.map
Caused by: relative URL without a base

from sentry-javascript-bundler-plugins.

MateuszGroth avatar MateuszGroth commented on August 27, 2024

The error does not happen on @swc/[email protected]

from sentry-javascript-bundler-plugins.

lforst avatar lforst commented on August 27, 2024

@MateuszGroth Ok that seems unrelated to the plugin though. I recommend opening an issue in the SWC repo.

from sentry-javascript-bundler-plugins.

MateuszGroth avatar MateuszGroth commented on August 27, 2024

@lforst I decided to start the conversation here since the sourcemaps seem to be generated correctly

from sentry-javascript-bundler-plugins.

lforst avatar lforst commented on August 27, 2024

But swc trips and not our plugin right? I don't quite see the connection yet 😄

from sentry-javascript-bundler-plugins.

MateuszGroth avatar MateuszGroth commented on August 27, 2024

The sentry vite plugin seems to work with that swc core version ;/

from sentry-javascript-bundler-plugins.

lforst avatar lforst commented on August 27, 2024

The Sentry vite plugin does not use SWC when building.

from sentry-javascript-bundler-plugins.

MateuszGroth avatar MateuszGroth commented on August 27, 2024

Vite on top of swc with the plugin works

from sentry-javascript-bundler-plugins.

lforst avatar lforst commented on August 27, 2024

@MateuszGroth can you please elaborate. None of this makes sense to me.

from sentry-javascript-bundler-plugins.

MateuszGroth avatar MateuszGroth commented on August 27, 2024

The question is, why Vite, using the swc bundler (1.6.1 @swc/core) works correctly with the@sentry/vite-plugin and the webpack + swc + @sentry/webpack-plugin configuration does not

from sentry-javascript-bundler-plugins.

MateuszGroth avatar MateuszGroth commented on August 27, 2024

Let me add that there are no errors when the @sentry/webpack-plugin plugin is not used.

from sentry-javascript-bundler-plugins.

lforst avatar lforst commented on August 27, 2024

I strongly recommend to share reproduction so we can look at this more closely.

from sentry-javascript-bundler-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.