Closed Reinachan closed 1 month ago
Sharp is a problematic dependency that only seems to work in the os you build it in, but I don't want to install linux OS just to build this app.
You can build it from source and post the AppImage, I will replace the one of the latest version. Install Node.js >=21.0.0
git clone https://github.com/Tenpi/Waifu2x-GUI.git
cd waifu2x-gui
npm install
npm rebuild
npm run build
Built from source and tested AppImage but error on startup.
In the same folder, linuxunpacked/waifu2x-gui works though
AppImage: https://pixeldrain.com/u/3RAgRkZ1
Sidenote another error when using Anime4k as engine
Was missing these steps from installation when i built from scratch
package: pkg-config
dependencies for canvas https://www.npmjs.com/package/canvas
rm -r package-lock.json
clear npm cache if installation is taking way too long
npm cache clear --force
(optional if still not working) npm config set registry http://registry.npmjs.org/ --global
Thanks, updated the AppImage.
The linux Anime4k I bundled might have problems, you can try to build that project from source and I can update the linux files. https://github.com/TianZerL/Anime4KCPP/wiki/Building#building-on-linux
I currently can't run the AppImage as it spits out this error. This is from v0.5.0
I tried the previous version, 0.4.9, and it throws this error
I tried yet another older version and it also failed. Didn't check the logs for that one.
While it shouldn't matter as AppImages aren't dependent on distro, I run Fedora Workstation 39. It's also not related to my system's Node version as I've got Node 20-something.