Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source code was not found: tslib/tslib.js #1944

Closed
oojacoboo opened this issue Mar 13, 2019 · 1 comment
Closed

Source code was not found: tslib/tslib.js #1944

oojacoboo opened this issue Mar 13, 2019 · 1 comment

Comments

@oojacoboo
Copy link

Package + Version

@sentry/node

Version:

4.6.4

Description

No clue where to go about resolving this issue. There is the error at the top of the "Issue" that

There were 2 errors encountered while processing this event
Source code was not found
/srv/www/node_modules/tslib/tslib.js
Source code was not found
/srv/www/node_modules/@sentry/node/dist/backend.js

Then, when viewing the full exception stack trace, I can literally see the code from both of these two files in the reported Issue. Clearly something isn't right, but these errors aren't telling me anything. They're factually incorrect. So, I don't get a full stack trace or other pieces of information in the Issue.

Feel free to take a look at Issue 0534c8df4a8042f58d8af9f1d72c1a57.

For reference, this error is coming from an unhandledRejection with a Promise.

@HazAT HazAT added the Type: Bug label Apr 4, 2019
@kamilogorek
Copy link
Contributor

We are investigating why it's behaving like this (2 consecutive frames with the same url triggers this). In the meantime, you can turn off "Enable JavaScript Source Fetching" in your project's settings, eg. https://sentry.io/settings/kamil-ogorek/projects/testing-project/ It's node app, so there's no point in doing that.
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants