error:
root@ip-172-31-35-61:/opt/lampp/htdocs/motoshare.in# npm run build
build
vite build
file:///opt/lampp/htdocs/motoshare.in/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)
solution
nvm install 22
npm run build