runejs / server

RuneJS is a RuneScape game server written in TypeScript and JavaScript. The goal of the project is to create a comprehensive game engine, while also providing simple and easy to use content development systems and APIs.
GNU General Public License v3.0
238 stars 82 forks source link

chore: use `@runejs/store` instead of `filestore` to remove canvas dependency #389

Closed Jameskmonger closed 1 year ago

Jameskmonger commented 1 year ago

the canvas dependency causes docker errors sometimes (Error loading shared library ld-linux-x86-64.so.2) and I noticed that the @runejs/store doesn't use it. So this seemed like a simpler fix than digging into that error..

I am not sure if this is the correct fix, as I noticed that @Kikorono's branch of filestore kiko/file-system doesn't have the canvas dependency either (but is called @runejs/store)

Jameskmonger commented 1 year ago

Specifically, this package (canvas) stops us using node alpine docker bases