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

Build broken with 1.1.x #181

Closed
3 tasks done
oliversalzburg opened this issue Jul 14, 2023 · 1 comment · Fixed by #182
Closed
3 tasks done

Build broken with 1.1.x #181

oliversalzburg opened this issue Jul 14, 2023 · 1 comment · Fixed by #182

Comments

@oliversalzburg
Copy link

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

SDK Version

1.1.1

Link to Sentry event

No response

What environment is your node script running in?

How is your code deployed and bundled?

esbuild

Steps to Reproduce

Expected Result

Build worked fine with 1.0.9, now it's broken due to the error below. Reasons seem pretty clear.

Actual Result

../packages/lib-lambda/source/sentry/SentryIntegration.mts(4,38): error TS2306: File '/home/runner/work/.../node_modules/@sentry/profiling-node/lib/index.d.ts' is not a module.
@JonasBa
Copy link
Member

JonasBa commented Jul 14, 2023

Oh, I will investigate this asap, I changed ts build to output typedef to outfile, it should not be creating an actual import here.

You can downgrade the version meanwhile to use profiling.

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

Successfully merging a pull request may close this issue.

2 participants