Lance Game Engine pong tutorial gets syntax error

113 Views Asked by At

In the Lance Game Engine when I try to run their pong tutorial I type:

sudo yarn start

I get this error:

/var/nodes/lancegame/node_modules/lance-gg/src/ClientEngine.js:125
    connect(options = {}) {
                    ^

SyntaxError: Unexpected token =

Any ideas?

1

There are 1 best solutions below

0
dennis On

uninstalled lance-gg and ran npm install [email protected] (older version) as instructed in the slack forum and now things work.