Rayen Mehrez
Rayen Mehrez

Reputation: 105

Module parse failed: Unexpected token (1:68)

Hello everyone. Can someone help me ? I just create react app then i start it immediately. Then i got error something like this. I dont know what's the problem

Failed to compile. ./src/index.js 1:68 Module parse failed: Unexpected token (1:68) File was processed with these loaders:

$RefreshRuntime$ = require('C:/Users/user/OneDrive - Ministere de l'Enseignement Superieur et de la Recherche Scientifique/Bureau/fitland-official/node_modules/react-refresh/runtime.js'); | $RefreshSetup$(module.id); |

Upvotes: 2

Views: 1287

Answers (1)

Hrutik Kharjul
Hrutik Kharjul

Reputation: 1

Try removing ' from

"Ministere de l'Enseignement"

folder name. Delete package-lock.json file and node_modules folder.

npm install

and re-run it.

Upvotes: 0

Related Questions