Wappler Version: 5.5.3
Operating System: Windows 11
Server Model: node.js
Database Type: postgres
Hosting Type: N/A
Expected behavior
The build of the Electron app should happen without errors.
Actual behavior
The build fails with the following error related to the node-gyp module.
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild 'C:\Users\Keith\Documents\Brightyard_Desktop_App_v3\electron\node_modules\sqlite3'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".
Error: Could not find any Python installation to use
Error: node-gyp failed to rebuild 'C:\Users\Keith\Documents\Brightyard_Desktop_App_v3\electron\node_modules\sqlite3'.
at NodeGyp.rebuildModule (C:\Users\Keith\Documents\Brightyard_Desktop_App_v3\electron\node_modules\electron-rebuild\lib\src\module-type\node-gyp.js:120:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ModuleRebuilder.rebuildNodeGypModule (C:\Users\Keith\Documents\Brightyard_Desktop_App_v3\electron\node_modules\electron-rebuild\lib\src\module-rebuilder.js:98:9)
at async ModuleRebuilder.rebuild (C:\Users\Keith\Documents\Brightyard_Desktop_App_v3\electron\node_modules\electron-rebuild\lib\src\module-rebuilder.js:128:14)
at async Rebuilder.rebuildModuleAt (C:\Users\Keith\Documents\Brightyard_Desktop_App_v3\electron\node_modules\electron-rebuild\lib\src\rebuild.js:149:13)
at async Rebuilder.rebuild (C:\Users\Keith\Documents\Brightyard_Desktop_App_v3\electron\node_modules\electron-rebuild\lib\src\rebuild.js:112:17)
at async C:\Users\Keith\Documents\Brightyard_Desktop_App_v3\electron\node_modules\electron-rebuild\lib\src\cli.js:158:9
Build error 4294967295:
How to reproduce
This appears to be related to one of the three dependencies that Wappler adds in package.json when trying to use any of the capacitor sqlite actions on a page.
"capacitor-community/sqlite": "^4.5.0",
"jeep-sqlite": "^1.6.9",
"sql.js": "^1.8.0"
My initial troubleshooting search is finding answers that either say to install python or use a different version of sqlite. Not sure what is the correct approach at the moment or if there is another solution.