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

Cannot build application on Windows 11, node-gyp errors in c++ build. #574

Open
cmorrison-idea11 opened this issue Jan 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@cmorrison-idea11
Copy link

cmorrison-idea11 commented Jan 20, 2025

Describe the bug
Node-gyp errors during desktop-app build.

I have visual studio 2022 with the Desktop development and Windows application development components installed.

Leapp Version
Latest development branch from Github.

To Reproduce
Steps to reproduce the behavior:

  1. Ensure VS and Python installed and working
  2. Checkout code
  3. Run npm run bootstrap
  4. The build fails building @Noovolari\dpapi-addon

Expected behavior
The build to succeed.

Screenshots
Full build log attached to this issue.

Desktop (please complete the following information):

  • OS: Windows.
  • OS Version: 11
  • Leapp Version: Development branch
  • Node version: 23.6.0
  • Python version: 3.11.9

Additional context
The build is being run in a brand new, clean VM.

Build log:
2025-01-20T02_47_24_728Z-debug-0.log

@cmorrison-idea11 cmorrison-idea11 added the bug Something isn't working label Jan 20, 2025
@ericvilla
Copy link
Contributor

Hi @cmorrison-idea11, thanks for reaching out. Please check if node_modules are installed in the /dpapi_addon directory. If not, run npm install in that folder, then run npx node-gyp rebuild. Let me know if the dpapi_addon build process completes successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants