If I do npm run build or npm run dev I get the following error:
:~/NettSite/helper$ npm run build
> build
> vite build
file:///home/william/NettSite/helper/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:133:18)
at async link (internal/modules/esm/module_job.js:42:21)
Hi,
If I do
npm run build
ornpm run dev
I get the following error:Laravel 9.45.1 node v12.22.9 npm 8.5.1 Ubuntu 22.04
package.json: