orion3dgames / t5c

Building a open source multiplayer 3d rpg using babylon.js and colyseus
https://t5c.onrender.com
MIT License
119 stars 27 forks source link

npm dev : Unknown command: "dev" #5

Closed ddaydd closed 2 years ago

ddaydd commented 2 years ago

Did you mean this?

npm run dev

SyntaxError: Unexpected token '.'

pathdefault['default'].resolve(pathdefault['default'].dirname(require?.main?.filename || process.cwd()), "..", envFilename),

orion3dgames commented 2 years ago

well i use yarn, i never tried with npm, if you're not sure, just check what command is available in the package.json under the scripts variable.

ddaydd commented 2 years ago

by updating node, "npm run dev" works