Steps to reproduce
- go to scrim https://scrimba.com/frontend-path-c0j/~0vm
- download as zip and extract on local machine
- open in vs code
- npm install, npm start
Error:
[vite] Pre-transform error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.