Facing error "Failed to load resource: the server responded with a status of 404 (Not Found)" in web browse console

  • If you’ve got “browser-sync” installed in node.js already: npm -g i browser-sync
  • Go to the folder your “index.html” file is.
  • Now, while holding down the SHIFT key, right-click somewhere empty.
  • An “Open Command Prompt Here” should show up as 1 of the options.
  • Once in the prompt, type in: browser-sync.
  • The default browser should open and your “index.html” should automatically run there.