Title: Error [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available when using vercel/pkg · Issue #6769 · getsentry/sentry-javascript · GitHub
Open Graph Title: Error [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available when using vercel/pkg · Issue #6769 · getsentry/sentry-javascript
X Title: Error [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available when using vercel/pkg · Issue #6769 · getsentry/sentry-javascript
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/...
Open Graph 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 th...
X 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 th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6769
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available when using vercel/pkg","articleBody":"### Is there an existing issue for this?\n\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [X] I have reviewed the documentation https://docs.sentry.io/\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which package are you using?\n\n@sentry/angular\n\n### SDK Version\n\n7.30.0\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\n_No response_\n\n### Steps to Reproduce\n\nThe new `LocalVariables` integration (https://github.com/getsentry/sentry-javascript/pull/6478) causes pkg-bundled app to crash. Is there a way to disable this integration?\r\n\r\n1. Build app with Sentry SDK 7.30.0 using [pkg](https://github.com/vercel/pkg)\r\n2. Run app and experience crash\n\n### Expected Result\n\nApp should not crash\n\n### Actual Result\n\n```\r\nError [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available\r\n at new NodeError (node:internal/errors:388:5)\r\n at node:inspector:23:9\r\n at NativeModule.compileForInternalLoader (node:internal/bootstrap/loaders:329:7)\r\n at NativeModule.compileForPublicLoader (node:internal/bootstrap/loaders:269:10)\r\n at loadNativeModule (node:internal/modules/cjs/helpers:49:9)\r\n at Module._load (node:internal/modules/cjs/loader:813:15)\r\n at Module.require (node:internal/modules/cjs/loader:1012:19)\r\n at Module.require (pkg/prelude/bootstrap.js:1855:31)\r\n at require (node:internal/modules/cjs/helpers:102:18)\r\n at Object.\u003canonymous> (/snapshot/app/node_modules/@sentry/node/cjs/integrations/localvariables.js:7:19)\r\n```","author":{"url":"https://github.com/zolbooo","@type":"Person","name":"zolbooo"},"datePublished":"2023-01-13T12:37:02Z","url":"https://github.com/getsentry/sentry-javascript/issues/6769"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c31d1fc4-4666-47d4-8cd4-1d340a0f3380 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8288:1C0F0F:28BEB90:34ECE4B:6B040995 |
| html-safe-nonce | 5891a30c84864f5a026e4beceff73d6f59de8e80f09bc16a106c48d93b9f11a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mjg4OjFDMEYwRjoyOEJFQjkwOjM0RUNFNEI6NkIwNDA5OTUiLCJ2aXNpdG9yX2lkIjoiOTE2NDAzNDc2MzM1MzQ5MTg2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f9cce888a302a6767b4f71cb2883f28001896cc166500e10dfbf7aaf96c37ef4 |
| hovercard-subject-tag | issue:1532241420 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/6769/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cd02ac9e112da76d9b36cabbe6012786fc675a6de69a857de57b0ee9f82b071f/getsentry/sentry-javascript/issues/6769 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd02ac9e112da76d9b36cabbe6012786fc675a6de69a857de57b0ee9f82b071f/getsentry/sentry-javascript/issues/6769 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zolbooo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width