title: Web Assembly - TypeError: NetworkError when attempting to fetch resource
body: <p>I'm attempting to compile a simple hello world program from C into web assembly. I've been following the guide provided by MDN (<a href="https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm" rel="noreferrer">https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm</a>). Upon navigating to the HTML page via Firefox 71 I receive a <code>TypeError: “NetworkError when attempting to fetch resource.”</code> error.</p>
  
  <p>Here's the C code:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int
  main(int argc, char *argv[]) {
      printf("hello, world!");
      return 0;
  }
  </code></pre>
  
  <p>And the command used to compile:</p>
  
  <pre><code>emcc hello.c -s WASM=1 -o hello.html
  </code></pre>
  
  <p>Am I missing something? Has anyone else encountered this problem? Thank you in advance.</p>