Skip to content

Title: Extension v0.0.2 fails to activate on Windows/Linux due to missing native platform binaries (NAPI-RS compilation issue) #522

Description

@mugisha-patrick

Description:
The published VSIX file for TheCaffinatedDeveloper.gorules-vscode v0.0.2 was packaged on an Apple Silicon machine (darwin-arm64) and only bundles that specific native binary inside its production node_modules layer.

Because VS Code extensions are unzipped on client machines without running an active npm install cycle, the runtime engine crashes on activation for non-macOS users when trying to resolve require('@gorules/zen-engine-win32-x64-msvc') (or the equivalent Linux GNU targets).

Steps to Reproduce:

  1. Install extension v0.0.2 on a Windows x64 machine.
  2. Open a .jdm.json file and toggle to the JDM Editor view.
  3. The panel remains an empty, unresponsive webview shell due to activation failure.

Proposed Resolution:
Update the vsce package deployment CI/CD workflow script to ensure that all native NAPI-RS target binaries for required environments (win32-x64, linux-x64, darwin-x64) are bundled explicitly into the extension payload prior to distribution.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions