pkg icon indicating copy to clipboard operation
pkg copied to clipboard

error while trying to build

Open rajkumarks7 opened this issue 3 years ago • 0 comments

What version of pkg are you using?

5.8.0

What version of Node.js are you using?

14

What operating system are you using?

windows

What CPU architecture are you using?

64bit

What Node versions, OSs and CPU architectures are you building for?

node 14

Describe the Bug

Error! Error: spawnSync patch ENOENT at Object.spawnSync (node:internal/child_process:1111:20) at spawnSync (node:child_process:814:24) at C:\Users\Raj\AppData\Roaming\npm\node_modules\pkg\node_modules\pkg-fetch\lib-es5\utils.js:148:51 at step (C:\Users\Raj\AppData\Roaming\npm\node_modules\pkg\node_modules\pkg-fetch\lib-es5\utils.js:33:23) at Object.next (C:\Users\Raj\AppData\Roaming\npm\node_modules\pkg\node_modules\pkg-fetch\lib-es5\utils.js:14:53) at C:\Users\Raj\AppData\Roaming\npm\node_modules\pkg\node_modules\pkg-fetch\lib-es5\utils.js:8:71 at new Promise () at __awaiter (C:\Users\Raj\AppData\Roaming\npm\node_modules\pkg\node_modules\pkg-fetch\lib-es5\utils.js:4:12) at spawn (C:\Users\Raj\AppData\Roaming\npm\node_modules\pkg\node_modules\pkg-fetch\lib-es5\utils.js:145:12) at C:\Users\Raj\AppData\Roaming\npm\node_modules\pkg\node_modules\pkg-fetch\lib-es5\build.js:221:60

Expected Behavior

was to make a build

To Reproduce

pkg -db cpu.js -t win

rajkumarks7 avatar Sep 12 '22 14:09 rajkumarks7