You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression: Error [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available when using vercel/pkg #12223
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
Error [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available
at new NodeError (node:internal/errors:388:5)
at node:inspector:23:9
at NativeModule.compileForInternalLoader (node:internal/bootstrap/loaders:329:7)
at NativeModule.compileForPublicLoader (node:internal/bootstrap/loaders:269:10)
at loadNativeModule (node:internal/modules/cjs/helpers:49:9)
at Module._load (node:internal/modules/cjs/loader:792:20)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at Module.require (pkg/prelude/bootstrap.js:1851:31)
at require (node:internal/modules/cjs/helpers:102:18)
at 86592 (/snapshot/dist/main.js) {
code: 'ERR_INSPECTOR_NOT_AVAILABLE'
}
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.
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 Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Activity
munelear commentedon May 27, 2024
The regression appears to have happened in the 8.0.0 release timeframe. I am unable to reproduce this issue on 7.116.0.
mydea commentedon May 27, 2024
fix: Only import `inspector` asynchronously (#12231)
AbhiPrasad commentedon May 27, 2024
Fix released with https://github.com/getsentry/sentry-javascript/releases/tag/8.5.0
munelear commentedon May 28, 2024
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.
timfish commentedon May 28, 2024
I can't reproduce any build or runtime errors with any v8 SDK version:
package.json{ "scripts": { "build": "pkg -t node18 index.js" }, "dependencies": { "@sentry/node": "^8.5.0", "pkg": "^5.8.1" } }index.jsRunning:
getsantry commentedon Jul 5, 2024
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
Waiting for: Community, I will leave it alone ... forever!"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀