Skip to content

vercel/pkg errors on windows #3572

@steebchen

Description

@steebchen

NOTE: This is a "draft issue", so it may not be actionable at this time. See below for more info.

Bug description

+ ./cli.exe --version
Error: Command failed with ENOENT: D:\snapshot\node_modules\@prisma\cli\introspection-engine-windows.exe --version
spawn D:\snapshot\node_modules\@prisma\cli\introspection-engine-windows.exe ENOENT

How to reproduce

NOTE: This only happens on GitHub Actions right now.
NOTE: I don't know when this bug was introduced yet, because of another bug.

npm i @prisma/cli
npm i -g pkg
pkg node_modules/@prisma/cli -t node12-win
./cli.exe version

Also see https://github.com/prisma/e2e-tests/runs/1092141690

Expected behavior

no error

Prisma information

--

Environment & setup

--

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions