error while trying to build
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 (
Expected Behavior
was to make a build
To Reproduce
pkg -db cpu.js -t win