Package with node_modules.asar · Issue #2197 · coder/code-server · GitHub
Skip to content

Package with node_modules.asar #2197

Description

@code-asher

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: no such file or directory, open '/usr/lib/code-server/lib/vscode/node_modules.asar/vscode-oniguruma/release/onig.wasm'. _logMessageInConsole @ abstractExtensionService.ts:416

We should package code-server with that directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementSome improvement that isn't a feature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions