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

Error When Starting (npm run dev) #7

Open
afoland opened this issue Dec 22, 2023 · 1 comment
Open

Error When Starting (npm run dev) #7

afoland opened this issue Dec 22, 2023 · 1 comment

Comments

@afoland
Copy link

afoland commented Dec 22, 2023

Running in linux, trying to get this up, errors immediately (complains about "await")

OS: Linux Mint 21.1 x86_64
Kernel: 5.15.0-56-generic
Uptime: 18 hours, 36 mins
Shell: bash 5.1.16
Resolution: 1920x1080
DE: Cinnamon 5.6.8
Terminal: gnome-terminal
CPU: Intel Xeon Gold 6238R (56) @ 4.000GHz
GPU: NVIDIA GeForce RTX 3090
Memory: 6443MiB / 128194MiB

~/ChatGPT$ npm run dev

[email protected] dev
vite --host

file:///home/andrew/ChatGPT/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)

@PrasadBroo
Copy link
Owner

make sure you are using nodejs version >=20.10.0

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

2 participants