-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Error when building on Windows with Python install dir having space in path #4840
Comments
cc @nodejs/platform-windows |
It seems you have Python installed in |
@seishun Yeah. All my programs are installed in Program Files. |
But it's also in the PATH |
Could you try adding quotes in the line I linked? It should look like |
This one: Line 528 in 3e2a2e6
|
@felixfbecker in your PATH, see this guide for setting up path variables. Basically, it's looking for Python in This has not been a problem before since Python defaults to install in |
@benjamingr you don't need quotes in PATH, and according to his build output his Python installation is found just fine. |
@benjamingr I know how to setup path, thanks :) |
@felixfbecker I think so. But it makes me wonder why GYP isn't doing its job properly by escaping the path on its own. |
@benjamingr I dislike programs that install to |
This issue has come up a few times now. Can we possibly fix it by quoting that path somewhere? |
@silverwind I opened #4841 |
@felixfbecker well, |
@benjamingr |
Closing this issue as it's a dupe of #4012. |
This is the first time I tried to build node from source, when I try to run
vcbuild
I get this log:See the line
"C:\Progam" not found
, it seems like something fromC:\Program Files
is run but the path is not quoted. I looked at the bat I could not find what is causing this. I don't get any node.exe output. I am using Visual Studio 2015 Update 1 on Windows 10 64 bit.The text was updated successfully, but these errors were encountered: