-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unable to resolve path to module '@sentry/nestjs' #14789
Comments
yup this feels like a bug, especially considering we have it properly defined in the exports conditions. Will fix! |
ref #14789 `build/cjs/nestjs/index.js` and `build/esm/nestjs/index.js` doesn't exist, this fixes that.
it's end of year next week and most of sentry is on holiday. We'll do a release at the start of the new year!
Yup @AdityaZwing that was the thing we fixed, but it's also on the tooling given |
Is there an existing issue for this?
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/nestjs
SDK Version
8.47.0
Framework Version
NestJS 10.3.7
Link to Sentry event
No response
Reproduction Example/SDK Setup
Steps to Reproduce
@sentry/nestjs
package@sentry/nestjs
. You'll get eslint errorThis occurs because of the bad path in
package.json
of@sentry/nestjs
:If you look into filesystem, there won't be
nestjs
dir.I've been able to successfully patch this by creating
nestjs
directory undernode_modules/@sentry/nestjs/build/cjs/
and by putting all the files from aforementioned directory into it.The error was gone after this.
Expected Result
Files location should correspond to what's declared in
package.json
Actual Result
Files location and
package.json
declaration mismatchThe text was updated successfully, but these errors were encountered: