-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
MSBuild.exe ENOENT #1864
Comments
@cclauss I understand 'No such file or directory' error, but this issue is not just |
In my computer:
|
Was getting this too, to fix:
Change the '15.0' to 'Current' |
@lntmny, @chester0 After I update node-gyp to 5.x, then I got no such errors. |
I modified package.json, and add the following snippets.
Then install the dependencies via yarn, all the errors disappeared. |
How did you solve this? I am facing the |
I have node-gyp 5.0.3 and the source lists the following environment variable to be an override for the path to MSBuild: |
Then please upgrade https://github.com/nodejs/node-gyp/issues?q=is%3Aissue+label%3A%22ERR%21+node-gyp+-v+%3C+v5.1.0%22+is%3Aclosed |
I installed full VS2019 and visual 2017 C++ Build tools. I also tried the suggestions mentioned on #1747
But when I execute
yarn
to install dependences which includenode-sass
, I always gotgyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe ENOENT
even I set the confignpm config set msvs_version 2017
The full log is
The text was updated successfully, but these errors were encountered: