Open
Description
I'm getting the following trying to update to 0.2.1, this is coming from the @colanode/desktop postinstall:
npm error code 4294967295
npm error path C:\path\to\colanode\apps\desktop
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c electron-rebuild
npm error An unhandled error occurred inside electron-rebuild
npm error Unable to find electron's version number, either install it or specify an explicit version
npm error
npm error Error: Unable to find electron's version number, either install it or specify an explicit version
npm error at file:///C:/path/to/colanode/node_modules/@electron/rebuild/lib/cli.js:65:19
npm error A complete log of this run can be found in: C:\path\to\AppData\Local\npm-cache\_logs\2025-06-13T18_09_17_470Z-debug-0.log
To get it to work, I had to remove all node_modules and package-lock.json, remove all node/npm installations from PATH, and I ended up reinstalling nodejs through n in WSL because I couldn't get it to work at all with powershell, pwsh, cmd, git bash, or the regular install on WSL.
Is this expected behavior?
Thanks so much!
This issue is mostly to help if anyone encounters it, and to see if you can check out the project to see if anything can be done to possibly avoid this type of thing in the future.
Metadata
Metadata
Assignees
Labels
No labels