drawdb-io / drawdb

Free, simple, and intuitive online database design tool and SQL generator.
https://drawdb.vercel.app
MIT License
12.09k stars 855 forks source link

Linux unexpected reserve word #83

Open dwk601 opened 2 months ago

dwk601 commented 2 months ago

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 commented 2 months ago

What node and npm version are you using

v3n4i commented 1 month ago

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 commented 1 month ago

What node and npm version are you using

Node.js v12.22.9.

JeanFranz73 commented 1 month ago

Node.js v12.22.9.

Vite requires Node.js 18 or above to run properly

Tested on Ubuntu 24.04 LTS