Closed ddaydd closed 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),
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.
by updating node, "npm run dev" works
Did you mean this?
npm run dev
SyntaxError: Unexpected token '.'
pathdefault['default'].resolve(pathdefault['default'].dirname(require?.main?.filename || process.cwd()), "..", envFilename),