Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux unexpected reserve word #83

Open
dwk601 opened this issue Apr 30, 2024 · 4 comments
Open

Linux unexpected reserve word #83

dwk601 opened this issue Apr 30, 2024 · 4 comments

Comments

@dwk601
Copy link

dwk601 commented Apr 30, 2024

file:///home/dongwook/Documents/drawdb/node_modules/vite/bin/vite.js:7
await import('source-map-support').then((r) => r.default.install())
^^^^^

SyntaxError: Unexpected reserved word

I just followed the installation process and when i run npm run dev it shows that message

@1ilit
Copy link
Member

1ilit commented May 2, 2024

What node and npm version are you using

@v3n4i
Copy link

v3n4i commented May 3, 2024

have the same issue..

ven4i@Matebook13:/mnt/c/Users/ven4i/drawdb$ npm run dev

client-vite@0.0.0 dev
vite

file:///mnt/c/Users/ven4i/drawdb/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)
ven4i@Matebook13:/mnt/c/Users/ven4i/drawdb$

i try to use default guide:
clone this repository, npm install and npm run dev

@dwk601
Copy link
Author

dwk601 commented May 3, 2024

What node and npm version are you using

Node.js v12.22.9.

@JeanFranz73
Copy link
Contributor

Node.js v12.22.9.

Vite requires Node.js 18 or above to run properly

Tested on Ubuntu 24.04 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants