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 [email protected] 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

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions