-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Cannot build on windows #14337
Comments
I see some paths are cc @nodejs/platform-windows, @nodejs/build |
Could you try to build from a folder without a space in the path? |
If the diagnosis is right and we cannot fix it, can we document it in the |
I am trying. If this is indeed the case I will submit a PR to update BUILDING.md |
@vsemozhetbyt I am trying to figure out how to fix the root of the issue. I have tracked it down. It only applies to Windows users that use Do you have access to a Windows PC to build the project with msbuild? If you create an account with spaces, try to |
Another thing to note: running msbuild in the console runs the python file if not (os.path.isdir(options.tmpdir)):
os.mkdir(options.tmpdir) I was trying to find a way to see where the options and path name is set, but I'm struggling to trace back where all that gets propagated. |
@kylelamse Yes, I was told several times that a space in the path to building directory makes the building fail and I've checked this condition. Fortunately, you can place the folder with source anywhere outside your home directory, where the path would have no spaces. cc @nodejs/build re data mentioned in the previous two comments. |
Ref: #12084 |
Patching |
I'm gonna close this, since it is a duplicate of #12084 |
PR-URL: #14354 Fixes: #14337 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: nodejs/node#14354 Fixes: nodejs/node#14337 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: nodejs/node#14354 Fixes: nodejs/node#14337 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #14354 Fixes: #14337 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #14354 Fixes: #14337 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #14354 Fixes: #14337 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
I am trying to build node on Windows. I installed the prereqs but am getting an error when running the build script:
The text was updated successfully, but these errors were encountered: