Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when building in VS 2019 #2111

Closed
rsapko opened this issue May 1, 2020 · 3 comments
Closed

Issue when building in VS 2019 #2111

rsapko opened this issue May 1, 2020 · 3 comments
Labels
ERR! node-gyp -v < v10.x.x npm install -g npm Node Sass --> Dart Sass https://github.com/sass/node-sass/issues/2952

Comments

@rsapko
Copy link

rsapko commented May 1, 2020

node 14.0.0
npm 6.14.4
Microsoft Windows 10 Pro
10.0.17763 N/A Build 17763

error gyp ERR! UNCAUGHT EXCEPTION
EXEC(0,0): Error : spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe ENOENT
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
gyp ERR! stack at onErrorNT (internal/child_process.js:468:16)
gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:84:21)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\rob_s\source\repos\IEvangelist.VideoChat\ClientApp\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\rob_s\source\repos\IEvangelist.VideoChat\ClientApp\node_modules\node-sass
gyp ERR! node -v v14.0.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in node-gyp.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/nodejs/node-gyp/issues
EXEC(0,0): Error code: 7

@cclauss
Copy link
Contributor

cclauss commented May 1, 2020

gyp ERR! node-gyp -v v3.8.0

Please upgrade node-gyp. Also see: #792 (comment)

@malis90
Copy link

malis90 commented May 3, 2020

same here
any idea how to fix it?

gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe ENOENT
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
gyp ERR! stack at onErrorNT (internal/child_process.js:468:16)
gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:84:21)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\OfficeWork\project\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\OfficeWork\project\node_modules\node-sass
gyp ERR! node -v v14.1.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in node-gyp.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! https://github.com/nodejs/node-gyp/issues

@cclauss
Copy link
Contributor

cclauss commented May 3, 2020

gyp ERR! node-gyp -v v3.8.0 # is too old vs.
https://github.com/nodejs/node-gyp/releases

Please try: npm update -g npm
Then see if your command (which you did not provide in your post above) works.
If there is no success then try #2111 (comment)

@bzoz bzoz closed this as completed May 6, 2020
@cclauss cclauss added the ERR! node-gyp -v < v10.x.x npm install -g npm label May 10, 2020
@cclauss cclauss added the Node Sass --> Dart Sass https://github.com/sass/node-sass/issues/2952 label Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ERR! node-gyp -v < v10.x.x npm install -g npm Node Sass --> Dart Sass https://github.com/sass/node-sass/issues/2952
Projects
None yet
Development

No branches or pull requests

4 participants