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

153
Views
I'm getting a SyntaxError when i reading a json file from url with fetch

I tried so many ways to read json file like with importing fs etc. the last way i used is there.

I researched about it and so many peoples says use it if u're trying to read json file but its giving a SyntaxError

here is my code;


fetch(url, {mode:"no-cors"})
.then(res => res.json())
.then(out =>
  console.log('Checkout this JSON! ', out))
.catch(err => {throw err});```
about 4 years ago · Juan Pablo Isaza
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!