Title: TypeError: Cannot read property 'Symbol(source-map-support/sharedData)' of undefined · Issue #43 · cspotcode/node-source-map-support · GitHub
Open Graph Title: TypeError: Cannot read property 'Symbol(source-map-support/sharedData)' of undefined · Issue #43 · cspotcode/node-source-map-support
X Title: TypeError: Cannot read property 'Symbol(source-map-support/sharedData)' of undefined · Issue #43 · cspotcode/node-source-map-support
Description: We've got WDIO added to one of our projects and we are running into this error when we try to run npx wdio run wdio.conf.ts 2022-06-14T20:12:21.575Z ERROR @wdio/local-runner: Failed launching test session: Error: Couldn't initialise "@wd...
Open Graph Description: We've got WDIO added to one of our projects and we are running into this error when we try to run npx wdio run wdio.conf.ts 2022-06-14T20:12:21.575Z ERROR @wdio/local-runner: Failed launching test ...
X Description: We've got WDIO added to one of our projects and we are running into this error when we try to run npx wdio run wdio.conf.ts 2022-06-14T20:12:21.575Z ERROR @wdio/local-runner: Failed launching t...
Opengraph URL: https://github.com/cspotcode/node-source-map-support/issues/43
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: Cannot read property 'Symbol(source-map-support/sharedData)' of undefined","articleBody":"We've got WDIO added to one of our projects and we are running into this error when we try to run `npx wdio run wdio.conf.ts`\r\n```\r\n2022-06-14T20:12:21.575Z ERROR @wdio/local-runner: Failed launching test session: Error: Couldn't initialise \"@wdio/cucumber-framework\".\r\nTypeError: Cannot read property 'Symbol(source-map-support/sharedData)' of undefined\r\n at initializeSharedData (/Users/yexe017/Projects/OH/gcom-react-order-history/test/end-to-end/node_modules/@cucumber/cucumber/node_modules/@cspotcode/source-map-support/source-map-support.js:49:20)\r\n at Object.\u003canonymous> (/Users/yexe017/Projects/OH/gcom-react-order-history/test/end-to-end/node_modules/@cucumber/cucumber/node_modules/@cspotcode/source-map-support/source-map-support.js:78:18)\r\n at Module._compile (internal/modules/cjs/loader.js:1085:14)\r\n at Module._compile (/Users/yexe017/Projects/OH/gcom-react-order-history/test/end-to-end/node_modules/pirates/lib/index.js:136:24)\r\n at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)\r\n at require.extensions.\u003ccomputed> (/Users/yexe017/Projects/OH/gcom-react-order-history/test/end-to-end/node_modules/ts-node/src/index.ts:1445:43)\r\n at Object.newLoader [as .js] (/Users/yexe017/Projects/OH/gcom-react-order-history/test/end-to-end/node_modules/pirates/lib/index.js:141:7)\r\n at Module.load (internal/modules/cjs/loader.js:950:32)\r\n at Function.Module._load (internal/modules/cjs/loader.js:790:12)\r\n at Module.require (internal/modules/cjs/loader.js:974:19)\r\n at safeRequire (/Users/yexe017/Projects/OH/gcom-react-order-history/test/end-to-end/node_modules/@wdio/utils/build/utils.js:192:15)\r\n at initialisePlugin (/Users/yexe017/Projects/OH/gcom-react-order-history/test/end-to-end/node_modules/@wdio/utils/build/initialisePlugin.js:30:50)\r\n at Runner.run (/Users/yexe017/Projects/OH/gcom-react-order-history/test/end-to-end/node_modules/@wdio/runner/build/index.js:82:56)\r\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\r\n```\r\nWas digging around to try to figure it out, is there a reason that `this.hasOwnProperty(sharedDataKey)` isn't checked before doing `var sharedData = this[sharedDataKey];` in source-map-support.js to prevent this issue?","author":{"url":"https://github.com/Wolftousen","@type":"Person","name":"Wolftousen"},"datePublished":"2022-06-14T20:39:26Z","url":"https://github.com/cspotcode/node-source-map-support/issues/43"}
| 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:669a97c3-40fc-848d-5b5d-5a84e8434c6d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED2E:EA1A8:12B6D1B:199DE97:6AFB7195 |
| html-safe-nonce | b3ae20d7bf1141cede6d41f5bdfd25d26f5fe9a2817d3f2eaa37dd9fe174f5a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDJFOkVBMUE4OjEyQjZEMUI6MTk5REU5Nzo2QUZCNzE5NSIsInZpc2l0b3JfaWQiOiI0Mjg4NjQ3MjgzNDgzNTcwNTgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3432a8dca0fa15e778ba2adcef85217a581fe1f8ef614dd86d87b608b33d81ce |
| hovercard-subject-tag | issue:1271336861 |
| 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/43/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5a488cb806aeb5136f76ff4bd667e52438cced5173f63fdb471d69a0a4d009fd/cspotcode/node-source-map-support/issues/43 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5a488cb806aeb5136f76ff4bd667e52438cced5173f63fdb471d69a0a4d009fd/cspotcode/node-source-map-support/issues/43 |
| og:image:alt | We've got WDIO added to one of our projects and we are running into this error when we try to run npx wdio run wdio.conf.ts 2022-06-14T20:12:21.575Z ERROR @wdio/local-runner: Failed launching test ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Wolftousen |
| 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