Am trying to start using the phaser 2d editor in my game but am getting this log . Help


> npm run editor

> @ editor /storage/emulated/0/Download
> phasereditor2d-launcher -project ./Easter-bunny-time-1.0.0

/data/data/com.termux/files/usr/lib/node_modules/phasereditor2d-launcher/cli.js:3
import { installEditor } from "./installEditor.js"
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at Module._compile (internal/modules/cjs/loader.js:892:18)                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
    at internal/main/run_main_module.js:17:11                               npm ERR! code ELIFECYCLE
npm ERR! errno 1                                                            npm ERR! @ editor: `phasereditor2d-launcher -project ./Easter-bunny-time-1.0.0`
npm ERR! Exit status 1
npm ERR!                                                                    npm ERR! Failed at the @ editor script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.                                                      npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /data/data/com.termux/files/home/.npm/_logs/2022-07-26T23_59_40_783Z-debug.log
(ERROR)-(Exit Code 1)-(General error)
(Wed Jul-7 2:59:40am)-(CPU 51.7%:0:Net 2)-(u0_a328:/storage/emulated/0/Download)-(16K:2)
>

Hi. What’s the node version you have installed in your system?

@PhaserEditor2D It is node v13

Please, try updating node to the latest version. I’m using v16.