-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Problem running template #424
-
I downloaded the last release, and I run npm install and npm start, with no error at the server console.
But, the page does not load in the browser, and I have an error at the browser console:
Uncaught SyntaxError: Unexpected token '<' (at index.js:10:3)
The error is in the < character of this line at index.js:
This is the content of index.js (at the browser):
import React from 'react'
import { createRoot } from 'react-dom/client'
import { Provider } from 'react-redux'
import 'core-js'
import App from './App'
import store from './store'
createRoot(document.getElementById('root')).render(
,
)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
You can try clear node modules and npm i. Good luck
Beta Was this translation helpful? Give feedback.