Install for Node gives error

Hi,

I have run through the install page multiple times, searched the forum, but no succes, I am not succeeding the install for Photostructure for Node on my Win11 system.
There seems to be some issue with sqlite, but I can’t find any clue how to fix it.

Since I am a new user, I can’t publish my log because of teh limit of links.

Fisrt occurence of an error is:

pilat@WIN-IQ2HKQJ8VL1 MINGW64 ~/photostructure-for-servers (main)
$ ./start.sh
No local changes to save
Already up to date.
yarn install v1.22.22
[1/4] Resolving packages…
[2/4] Fetching packages…
[3/4] Linking dependencies…
[4/4] Building fresh packages…
[1/2] ⢀ better-sqlite3
error C:\Users\pilat\photostructure-for-servers\node_modules\better-sqlite3: Command failed.
Exit code: 1
Command: prebuild-install || npm run build-release
Arguments:
Directory: C:\Users\pilat\photostructure-for-servers\node_modules\better-sqlite3
Output:
prebuild-install WARN install No prebuilt binaries found (target=22.16.0 runtime=node arch=x64 libc= platform=win32)

cheers,
Pieter

Welcome to PhotoStructure, @pilatus !

Can you make sure you’re on the beta build? Also, if you’re still having issues, please switch to Node v20 (just as a temporary fix – the future build will support node 20-24).

git checkout beta
git pull
./start.sh

Thanks mrm for the quick response.
Indeed that was the good hint, I just installed Node assuming the latest would be the better. Now I reverted back to v20.
And I already did the beta, but then thougt (because it did not work and it is now 2025) it is probably an old install manual because of the remark: ‘This is temporary step, and will not be necessary when v2024 is stable’ (my bad).
After the install was succesfull it initially kept coming with a black screen and an error, but after a reboot if finally worked (and even took my existing library to my surprise).
So thanks for the help!