Publii

I like Publii, but I'm not sure I like it enough to learn javascript.

Installed NodeJS 18 because when I ran the Publii-recommended version (16), the sqlite library wouldn't work.

When running publii's npm run dev command it failed. Snackoverflow indicated I should use set NODE_OPTIONS=–openssl-legacy-provider to make it work and it did.

BUT

Running the npm run build command told me that electron HATES the legacy option so I had to unset it before Publii would run.

Anyway, node sucks. I uninstalled it and started again with nvm, the Node Version Manager. This time I got all the way to a sqlite error which I fixed with

node-gyp rebuild --target=22.3.6 --arch=x64 --dist-url=https://electronjs.org/headers --python="C:\Users\John\miniconda3\envs\auto11\python.exe"

User Tools