Closed hpx7 closed 2 years ago
It appears to be an issue with installing canvas
. Might have something to do with the fact that I'm using an M1 mac
It appears to be an issue with installing
canvas
.
Yes it looks like that: https://github.com/Automattic/node-canvas#compiling
Maybe try this package instead: https://github.com/yandeu/arcade-physics
Cool I was able to get arcade-physics working (in case you're curious: https://github.com/hpx7/hathora-phaser-demo)
Nice! And arcade-physics
is also much faster than phaser-on-nodejs
.
I get the following error when I try to run
npm i @geckos.io/phaser-on-nodejs
: