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

219
Views
JSON error when running react native app with expo

When I try to run my react native app on expo with expo start, it logs the qr code, but it also logs this error after some time:

Failed to construct transformer: Error: Ca
nnot parse /home/runner/kitsu-mobile-1/.nvm
/test/fast/Unit tests/mocks/project_dirs/ne
sted-both/package.json as JSON: Unexpected
end of JSON input
at Object.<anonymous> (/home/runner/kit
su-mobile-1/node_modules/metro/node_modules
/jest-haste-map/build/worker.js:167:15)
...

I cannot connect after scanning the qr code with my phone because of that error.

I am using:

  • node 16.2.0
  • npm 7.13.0

I would appreciate any help.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Very late answer, but seems we are the only 2 that had this error.

If you fill the package.json that give this error with {}, the error disappears!

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!