Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

235
Views
Create React App throws error while starting server

This error shows up whenever I run npm start.

I've tried npm install. I have no errors in the console.

Also I'm not using JSON.parse in any of my files.

Full error:

Starting the development server...

C:\Users\user\Documents\GitHub\repo\client\node_modules\react-scripts\scripts\start.js:19
  throw err;
  ^

SyntaxError: Unexpected token  in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.getBuildInfo (C:\Users\user\Documents\GitHub\repo\client\node_modules\typescript\lib\typescript.js:107937:21)
    at readBuilderProgram (C:\Users\user\Documents\GitHub\repo\client\node_modules\typescript\lib\typescript.js:120294:28)
    at Object.createWatchProgram (C:\Users\user\Documents\GitHub\repo\client\node_modules\typescript\lib\typescript.js:120448:26)
    at Object.<anonymous> (C:\Users\user\Documents\GitHub\repo\client\node_modules\fork-ts-checker-webpack-plugin\lib\typescript-reporter\reporter\TypeScriptReporter.js:304:59)
    at Generator.next (<anonymous>)
    at C:\Users\Vito\Documents\GitHub\repo\client\node_modules\fork-ts-checker-webpack-plugin\lib\typescript-reporter\reporter\TypeScriptReporter.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\Vito\Documents\GitHub\repo\client\node_modules\fork-ts-checker-webpack-plugin\lib\typescript-reporter\reporter\TypeScriptReporter.js:4:12)
    at Object.getIssues (C:\Users\user\Documents\GitHub\repo\client\node_modules\fork-ts-checker-webpack-plugin\lib\typescript-reporter\reporter\TypeScriptReporter.js:227:28)
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try this steps

  1. remove node_modules

  2. intall again node packages npm i

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!