Title: TypeError: Cannot read properties of undefined (reading 'stack') · Issue #46 · cspotcode/node-source-map-support · GitHub
Open Graph Title: TypeError: Cannot read properties of undefined (reading 'stack') · Issue #46 · cspotcode/node-source-map-support
X Title: TypeError: Cannot read properties of undefined (reading 'stack') · Issue #46 · cspotcode/node-source-map-support
Description: This package is a dependency of ts-node. When I use ts-node, @cspotcode/source-map-support fails with this error: /home/runner/work/test/node_modules/.pnpm/@cspotcode+source-map-support@0.8.1/node_modules/@cspotcode/source-map-support/so...
Open Graph Description: This package is a dependency of ts-node. When I use ts-node, @cspotcode/source-map-support fails with this error: /home/runner/work/test/node_modules/.pnpm/@cspotcode+source-map-support@0.8.1/node_...
X Description: This package is a dependency of ts-node. When I use ts-node, @cspotcode/source-map-support fails with this error: /home/runner/work/test/node_modules/.pnpm/@cspotcode+source-map-support@0.8.1/node_...
Opengraph URL: https://github.com/cspotcode/node-source-map-support/issues/46
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: Cannot read properties of undefined (reading 'stack')","articleBody":"This package is a dependency of `ts-node`. When I use `ts-node`, `@cspotcode/source-map-support` fails with this error:\r\n\r\n```js\r\n/home/runner/work/test/node_modules/.pnpm/@cspotcode+source-map-support@0.8.1/node_modules/@cspotcode/source-map-support/source-map-support.js:681\r\nvar match = /\\n at [^(]+ \\((.*):(\\d+):(\\d+)\\)/.exec(error.stack);\r\n ^\r\nTypeError: Cannot read properties of undefined (reading 'stack')\r\n at getErrorSource (/home/runner/work/test/node_modules/.pnpm/@cspotcode+source-map-support@0.8.1/node_modules/@cspotcode/source-map-support/source-map-support.js:681:64)\r\n at printFatalErrorUponExit (/home/runner/work/test/node_modules/.pnpm/@cspotcode+source-map-support@0.8.1/node_modules/@cspotcode/source-map-support/source-map-support.js:714:16)\r\n at process.emit.sharedData.processEmitHook.installedValue [as emit] (/home/runner/work/test/node_modules/.pnpm/@cspotcode+source-map-support@0.8.1/node_modules/@cspotcode/source-map-support/source-map-support.js:753:9)\r\n at process.exit (node:internal/process/per_thread:189:15)\r\n at process.emit.sharedData.processEmitHook.installedValue [as emit] (/home/runner/work/test/node_modules/.pnpm/@cspotcode+source-map-support@0.8.1/node_modules/@cspotcode/source-map-support/source-map-support.js:750:17)\r\n at process._fatalException (node:internal/process/execution:167:25)\r\n at loadESM (node:internal/process/esm_loader:94:31)\r\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\r\n at async handleMainPromise (node:internal/modules/run_main:61:12)\r\n ELIFECYCLE Command failed with exit code 7.\r\n```\r\n\r\nI am test this on Node `16.17.0` with `ts-node --swc --esm ./some_code.ts` on Linux. This doesn't happen on Windows.","author":{"url":"https://github.com/aminya","@type":"Person","name":"aminya"},"datePublished":"2022-08-27T08:17:02Z","url":"https://github.com/cspotcode/node-source-map-support/issues/46"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:63ca7ec0-c579-1808-57bf-52d80ce129cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 859A:370E32:13C69A5:1AFB031:6AFB7185 |
| html-safe-nonce | 4a66582810057c5d57373be1fced068dab400763690a7395af6837ce79d8d26b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTlBOjM3MEUzMjoxM0M2OUE1OjFBRkIwMzE6NkFGQjcxODUiLCJ2aXNpdG9yX2lkIjoiMTM3MzI3MzA0MjU4NjM5OTEwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6abea6f99ceaf86daed24bfbf26c45db7b3b798597ddcef57e0898a4eae51502 |
| hovercard-subject-tag | issue:1352981381 |
| 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/cspotcode/node-source-map-support/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b8d641b7dc73820fcc8d65013794ae7d1714c837b19f202afdd1128ea079883/cspotcode/node-source-map-support/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b8d641b7dc73820fcc8d65013794ae7d1714c837b19f202afdd1128ea079883/cspotcode/node-source-map-support/issues/46 |
| og:image:alt | This package is a dependency of ts-node. When I use ts-node, @cspotcode/source-map-support fails with this error: /home/runner/work/test/node_modules/.pnpm/@cspotcode+source-map-support@0.8.1/node_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aminya |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48 |
| turbo-cache-control | no-preview |
| go-import | github.com/cspotcode/node-source-map-support git https://github.com/cspotcode/node-source-map-support.git |
| octolytics-dimension-user_id | 376504 |
| octolytics-dimension-user_login | cspotcode |
| octolytics-dimension-repository_id | 310942201 |
| octolytics-dimension-repository_nwo | cspotcode/node-source-map-support |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 310942201 |
| octolytics-dimension-repository_network_root_nwo | cspotcode/node-source-map-support |
| 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 | 2e8872b770cc4d5d0cc1f2026afab747a268e2ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width