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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

Priority

None yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions