-
-
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
Regression: Error [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available when using vercel/pkg #12223
Comments
The regression appears to have happened in the 8.0.0 release timeframe. I am unable to reproduce this issue on 7.116.0. |
This comment was marked as outdated.
This comment was marked as outdated.
Closes #12223 I've added a test that uses `import-in-the-middle` to throw if `inspector` is imported without enabling the `LocalVariables` integration so this should not regress in the future. Note that we don't need to import asynchronously in the worker scripts since these are not evaluated if the features aren't used.
FYI- I tried pulling in release 8.5.0 but I was still experiencing this issue. I'll re-review the release documentation and check if there's something wrong on my end, but I wanted to give you a heads up that this may not be completely resolved yet. |
I can't reproduce any build or runtime errors with any v8 SDK version:
{
"scripts": {
"build": "pkg -t node18 index.js"
},
"dependencies": {
"@sentry/node": "^8.5.0",
"pkg": "^5.8.1"
}
}
const Sentry = require('@sentry/node');
Sentry.init({
dsn: '__DSN__',
debug: true
});
setInterval(() => {
console.log('Ping');
}, 1000); Running:
|
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.4.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
I verified that using sentry 7.31.0 does not have this issue, as noted in issue #6769, this was previously fixed and at some point regressed.
Expected Result
App should not crash
Actual Result
The text was updated successfully, but these errors were encountered: