I'm getting the following error when installing watcher@2.1.0:
error D:\a\vscodium\vscodium\vscode\node_modules\@parcel\watcher: Command failed.
Exit code: 1
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Command: node-gyp-build
Arguments:
Directory: D:\a\vscodium\vscodium\vscode\node_modules\@parcel\watcher
Output:
node:events:495
throw er; // Unhandled 'error' event
^
Error: spawn node-gyp.cmd ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:284:19)
at onErrorNT (node:internal/child_process:477:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:290:12)
at onErrorNT (node:internal/child_process:477:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn node-gyp.cmd',
path: 'node-gyp.cmd',
spawnargs: [ 'rebuild' ]
}
I'm getting the error only with the github runner images (Windows and macOS) and node v18.18.
Using node v18.17 is resolving the issue. Not sure what's going on...
I hope it can help some folks.
Hello,
I'm getting the following error when installing
watcher@2.1.0
:I'm getting the error only with the github runner images (Windows and macOS) and node
v18.18
. Using nodev18.17
is resolving the issue. Not sure what's going on... I hope it can help some folks.ref: https://github.com/VSCodium/vscodium/issues/1669