title: You need to enable javascript to run this app response when try to access local json file in react
body: <p><a href="https://i.stack.imgur.com/za7rd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/za7rd.png" alt="enter image description here"></a><a href="https://i.stack.imgur.com/ek6dh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ek6dh.png" alt="enter image description here"></a><a href="https://i.stack.imgur.com/7fZLw.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7fZLw.png" alt="enter image description here"></a>error message I am trying to access a local .json file using fetch() like</p>
  
  <pre><code>fetch('fakedata.json')
    .then((res) =&gt; res.json())
    .then((data) =&gt; {
      console.log('data:', data);
    })
  </code></pre>
  
  <p>But when i saw in the network it is showing</p>
  
  <blockquote>
    <p>You need to enable javascript to run this app</p>
  </blockquote>
  
  <p>I check in some other pages but i cant fix this issue.
  How to fix this issue</p>