Cannot build application on Windows 11, node-gyp errors in c++ build.
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:
- Ensure VS and Python installed and working
- Checkout code
- Run
npm run bootstrap - 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
Hi @cmorrison-idea11, thanks for reaching out. Please check if node_modules are installed in the <PROJECT-ROOT>/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