-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The following error is generated while running yarn install with node version >=16.14.0
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:283:19)
gyp ERR! stack at onErrorNT (node:internal/child_process:476:16)
gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
gyp ERR! System Windows_NT 10.0.22000
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\<user_name>\EasyBREAD\Example\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users<user_name>\EasyBREAD\Example\node_modules\node-sass
gyp ERR! node -v v18.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug innode-gyp.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
Using node version 14.21.2 resolved this issue for me.
Bringing this up because the README instructs the user to
Make sure you've got the latest stable node and yarn installed.