Skip to content

[cannot execute] When pnpm build, occurred %1 is not a valid Win32 application #5638

@kooriookami

Description

@kooriookami

pnpm version:

7.16.0

Code to reproduce the issue:

https://github.com/kooriookami/electron-builder-pnpm

Expected behavior:

Run pnpm build no errors.

Actual behavior:

image

Additional information:

Use sqlite3 in dependencies.

  • node -v prints: v16.16.0
  • Windows, macOS, or Linux?: Win11 x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions