-
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
Error C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1 #3068
Comments
You might want to look at the Windows steps at https://github.com/Automattic/node-canvas/blob/master/.github/workflows/ci.yaml#L31 Please do not post screenshot images because they are not searchable. |
@cclauss unfortunately nothing helped from this link |
I am in the same boat. I have tried downgrading both node and node-gyp to the versions indicated in the link and still am running into the error. Mine is while trying to build libdvbtee_parser. I'm using Python 3.13.0, Visual Studio 2022 with the C for Desktop workload, and node 18.12.0 and node-gyp 8 installed globally. |
Python 3.12 and 3.13 will break node-gyp < v10 because the need |
Thanks for the quick response! I downgraded python to 3.11 and am still encountering the same issues:
I notice that the node-gyp version is listed in the output as 9.1.0, yet I've only installed 8.4.1, and that's the version in my nodejs install. |
Also, look at |
Thanks for the suggestion. Following that I was able to get it to use v8.4.1. That then asked for a Windows SDK for Visual Studio, which I installed and now I am back at the same place:
Any other suggestions? |
这个是啥意思,是说安装python3.12以上版本后,环境会被破坏吗导致打包失败 |
node-gyp v10.2.0
node v17.9.1/ same error on node v20.17.0
windows 11
on linux mint the program works fine for me.
The text was updated successfully, but these errors were encountered: