Open kpotschi opened 1 year ago
The error looks pretty obvious:
Error: Cannot find module 'phaser3spectorjs'
What is phaser3spectorjs btw?
it's some sort of debug tool as far as I understand?
Unfortunately this might be above my understanding, but the fact that Phaser itself runs without a problem, but the error shows up when using phaser-on-nodejs, I was wondering if there's some flag that needs to be set in order for WEBGL_DEBUG
not to be undefined
On nodejs there is no WEBGL. So it will always be undefined.
Ooh wait. Are you running the latest 3.60 Phaser version?
This library is not yet adapted to 3.60.
Works with Phaser <3.50.0 and >=3.55.2.
Maybe you want to try arcade-physics instead.
哦等。你运行的是最新的3.60 Phaser版本吗? 这个库还没有配到3.60。
Works with Phaser <3.50.0 and >=3.55.2.
也许你想考机械物理学。
I hope it will support the 3.60.0,It's great!
i have the same issue, even when i downgrade phaser version to 3.55.2 or lower, this error still appear when compile
I just released a new version. Try it!
Describe the bug Using a minimal setup, the compilter throws the following error
the setup looks like this, but is basically pulled from the github documentation, minus the
audio
flag in the config, it seems to be deprecated.I'm able to get it to run commenting out
in
node_modules/phaser/src/renderer/webgl/WebGLRenderer.js