question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Source maps are not linked correctly by Sentry

See original GitHub issue

Environment

How do you use Sentry? Sentry SaaS (sentry.io)

Which SDK and version?

    "@sentry/capacitor": "^0.4.0",
    "@sentry/react": "^6.11.0",
    "@sentry/tracing": "^6.11.0",

Description

Source maps are not linked correctly by Sentry and I’m unable to understand how to fix the code. This is the error trace

RangeError: Invalid time value
  at Z(app:///static/js/2.8a9aba35.chunk.js:2:718874)
  at un(app:///static/js/main.b1e0cf1d.chunk.js:1:70866)
  at ? (app:///static/js/main.b1e0cf1d.chunk.js:1:71066)
  at ? (app:///static/js/main.b1e0cf1d.chunk.js:1:71975)
  at ri(app:///static/js/main.b1e0cf1d.chunk.js:1:87954)
  at ou(app:///static/js/2.8a9aba35.chunk.js:2:786602)
  at Ga(app:///static/js/2.8a9aba35.chunk.js:2:839060)
  at ws(app:///static/js/2.8a9aba35.chunk.js:2:826234)
  at Ss(app:///static/js/2.8a9aba35.chunk.js:2:826162)
  at Cs(app:///static/js/2.8a9aba35.chunk.js:2:826025)
  at ms(app:///static/js/2.8a9aba35.chunk.js:2:822991)
  at ? (app:///static/js/2.8a9aba35.chunk.js:2:772370)
  at t.unstable_runWithPriority(app:///static/js/2.8a9aba35.chunk.js:2:849789)
  at zo(app:///static/js/2.8a9aba35.chunk.js:2:772147)
  at Yo(app:///static/js/2.8a9aba35.chunk.js:2:772315)
  at Wo(app:///static/js/2.8a9aba35.chunk.js:2:772250)
  at ds(app:///static/js/2.8a9aba35.chunk.js:2:820360)
  at Tu(app:///static/js/2.8a9aba35.chunk.js:2:791927)
  at ? (app:///static/js/2.8a9aba35.chunk.js:2:508500)
  at ? (app:///static/js/2.8a9aba35.chunk.js:2:211534)
  at e.notifyFn(app:///static/js/2.8a9aba35.chunk.js:2:211092)
  at ? (app:///static/js/2.8a9aba35.chunk.js:2:211699)
  at Array.forEach(app:///<anonymous>)
  at ? (app:///static/js/2.8a9aba35.chunk.js:2:211676)
  at e.batchNotifyFn(app:///static/js/2.8a9aba35.chunk.js:2:211128)
  at ? (app:///static/js/2.8a9aba35.chunk.js:2:211648)

and on the error page sentry say that I’m missing a source file linked to the error

image

but if I click on the release associated with the crash (1.3.3)

image

and go to see the source map for that release related to the sentry crash (1.3.3) I can see those source map for file

image

what’s the problem? How can I solve it?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bruno-garciacommented, Jan 11, 2022
0reactions
lucas-zimermancommented, May 10, 2022

Closing this issue, feel free to reopen it if needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Source Maps for JavaScript
Verify your source maps work locally. If you find that Sentry is not mapping filename, line, or column mappings correctly, you should verify...
Read more >
Troubleshooting for JavaScript | Sentry Documentation
If you find that Sentry is not mapping filename, line, or column mappings correctly, you should verify that your source maps are functioning...
Read more >
Configuring Sentry with JavaScript Source Maps
An epic troubleshooting tale to enable JavaScript source map fetching in Sentry.
Read more >
(Sentry) source maps are not sent to the project by sentry-cli
This is definitely an issue with self-hosted instance not preserving your files. ... and look for related issues.
Read more >
Ionic React using Sentry Sourcemaps
... uploaded and linked to my releases but I'm not getting the stack ... the Sentry-React-Ionic app links it's Sourcemaps correctly but mine ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found