Having trouble starting dev server for my Vite project. #19031
Answered
by
sapphi-red
CalvinaHarr
asked this question in
Q&A
-
Basically the title. I was following a tutorial that had me start a Vite project that uses React and TypeScript. When I got to the step where I put in my terminal (Git Bash), "npm run dev", it gave the expected response, but then it ran into an error saying "ReferenceError: structuredClone is not defined." |
Beta Was this translation helpful? Give feedback.
Answered by
sapphi-red
Dec 25, 2024
Replies: 1 comment 2 replies
-
Probably you are using an old version of Node. Vite requires Node 18, 20+. You can run |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
CalvinaHarr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably you are using an old version of Node. Vite requires Node 18, 20+. You can run
node -v
to check out which version is used.