Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.0.0.
Framework Version
Node v20.12.1
Link to Sentry event
SDK Setup
import { init } from "@sentry/node";
import { nodeProfilingIntegration } from "@sentry/profiling-node";
init({
dsn: process.env.SENTRY_DSN_URL,
integrations: [
nodeProfilingIntegration(),
],
tracesSampleRate: 1.0,
profilesSampleRate: 1.0
});
Steps to Reproduce
I'm using https://github.com/discordjs/discord.js and since I updated to Sentry v8, without changing any of my other dependencies, I'm facing the following error in a function that is simply trying to import a discord.js class.
[Error: ENOENT: no such file or directory, open 'C:\...\node_modules\@discordjs\builders\dist\@discordjs\formatters']
I think it's on sentry the root of the error given by the fact that when using @sentry/[email protected]
this error didn't happen. If I remove my sentry init, the program will work fine too
Expected Result
The program would not detect any error
Actual Result
A
[Error: ENOENT: no such file or directory, open 'C:\...\node_modules\@discordjs\builders\dist\@discordjs\formatters']
is captured as an error and stops the execution of the function that was doing an import
Metadata
Metadata
Assignees
Type
Projects
Status
No status