Home > Enterprise >  npm run dev not working with vite laravel 9
npm run dev not working with vite laravel 9

Time:07-21

users-iMac-2:backend NEHAL$ npm run dev

dev vite

file:///Users/user/Desktop/backend/node_modules/vite/bin/vite.js:7 await import('source-map-support').then((r) => r.default.install()) ^^^^^

SyntaxError: Unexpected reserved word at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18) at async link (internal/modules/esm/module_job.js:42:21) users-iMac-2:backend NEHAL$

CodePudding user response:

same problem, update node.js, min

CodePudding user response:

Same problem. Updated node to v16.16.0 and it worked.

  • Related