Title: Package with node_modules.asar · Issue #2197 · coder/code-server · GitHub
Open Graph Title: Package with node_modules.asar · Issue #2197 · coder/code-server
X Title: Package with node_modules.asar · Issue #2197 · coder/code-server
Description: Currently we patch require to use node_modules but this breaks if an extension explicitly tries to look in node_modules.asar like the bracket pair colorizer plugin: Activating extension 'CoenraadS.bracket-pair-colorizer-2' failed: ENOENT...
Open Graph Description: Currently we patch require to use node_modules but this breaks if an extension explicitly tries to look in node_modules.asar like the bracket pair colorizer plugin: Activating extension 'CoenraadS....
X Description: Currently we patch require to use node_modules but this breaks if an extension explicitly tries to look in node_modules.asar like the bracket pair colorizer plugin: Activating extension 'Coenra...
Opengraph URL: https://github.com/coder/code-server/issues/2197
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Package with node_modules.asar","articleBody":"Currently we patch `require` to use `node_modules` but this breaks if an extension explicitly tries to look in `node_modules.asar` like the bracket pair colorizer plugin:\r\n\r\n```\r\nActivating extension 'CoenraadS.bracket-pair-colorizer-2' failed: ENOENT: no such file or directory, open '/usr/lib/code-server/lib/vscode/node_modules.asar/vscode-oniguruma/release/onig.wasm'. _logMessageInConsole @ abstractExtensionService.ts:416\r\n```\r\n\r\nWe should package `code-server` with that directory. ","author":{"url":"https://github.com/code-asher","@type":"Person","name":"code-asher"},"datePublished":"2020-10-13T16:22:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2197/code-server/issues/2197"}
| 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:a1243e12-6f3f-7f0b-3771-92b2b4f09695 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93E4:15CF6:BA6994:ECA385:698FE0F2 |
| html-safe-nonce | d060b320b9c136fc5ff2de681417ceecc8b99f552c9a1b7f6308f955e5a55f59 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0U0OjE1Q0Y2OkJBNjk5NDpFQ0EzODU6Njk4RkUwRjIiLCJ2aXNpdG9yX2lkIjoiODI2NTIyMTAxNzM1NTQxMTY5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e92ec4788feec7d6ae565f3d965b5efa246106a69ebea313eecbd69332d1078f |
| hovercard-subject-tag | issue:720498309 |
| 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/coder/code-server/2197/issue_layout |
| twitter:image | https://opengraph.githubassets.com/031c67c1c0b27969fde753bd718930408b14e7fa3f551269963954fa94dafb50/coder/code-server/issues/2197 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/031c67c1c0b27969fde753bd718930408b14e7fa3f551269963954fa94dafb50/coder/code-server/issues/2197 |
| og:image:alt | Currently we patch require to use node_modules but this breaks if an extension explicitly tries to look in node_modules.asar like the bracket pair colorizer plugin: Activating extension 'CoenraadS.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | code-asher |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width