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

Error C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1 #3068

Open
Corristo-X opened this issue Sep 8, 2024 · 2 comments
Labels

Comments

@Corristo-X
Copy link

Corristo-X commented Sep 8, 2024

Error: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1
at ChildProcess.onExit (D:\RoboOptim\RoboOptim\node_modules@electron\rebuild\node_modules\node-gyp\lib\build.js:203:23)
at ChildProcess.emit (node:events:517:28)
at ChildProcess._handle.onexit (node:internal/child_process:292:12)

✖ Rebuild Failed

An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild 'D:\RoboOptim\RoboOptim\node_modules\canvas'

Error: node-gyp failed to rebuild 'D:\RoboOptim\RoboOptim\node_modules\canvas'
at ChildProcess. (D:\RoboOptim\RoboOptim\node_modules@electron\rebuild\lib\module-type\node-gyp\node-gyp.js:118:24)
at ChildProcess.emit (node:events:517:28)
at ChildProcess._handle.onexit (node:internal/child_process:292: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.

@Corristo-X Corristo-X changed the title Erro C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1 Error C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1 Sep 8, 2024
@cclauss cclauss added the Windows label Sep 8, 2024
@cclauss
Copy link
Contributor

cclauss commented Sep 8, 2024

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.

@Corristo-X
Copy link
Author

Corristo-X commented Sep 8, 2024

@cclauss unfortunately nothing helped from this link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants