0
votes

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:

  • ./node_modules/@pmmmwh/react-refresh-webpack-plugin/loader/index.js
  • ./node_modules/babel-loader/lib/index.js You may need an additional loader to handle the result of 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); |

1

1 Answers

1
votes

Follow the commands below:

npx create-react-app my-app
cd my-app
npm i
npm start