Skip to content

vite-plus 0.2.0: native binding fails to load on Linux CI under pnpm cold install #1861

Description

@TonyPythoneer

On Linux CI, pnpm install of vite-plus@0.2.0 succeeds, but the first vp call crashes because the platform binary is not resolvable:

Error: Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828).
  cause: Error: Cannot find module '@voidzero-dev/vite-plus-linux-x64-gnu'
    cause: Error: Cannot find module './vite-plus.linux-x64-gnu.node'

Failed CI run: https://github.com/TonyPythoneer/jen-lab/actions/runs/27701150179

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions