Failed to load resource: The requested URL was not found on this server in Ionic 2?
<p>I have a Ionic 2 application which was working fine in the chrome browser, but when it run on simulator (remote debugging with Safari) or actual device it gives below error.
After this error app is not working properly entirely.</p>

<pre><code>V2%20AppName.app/www/build/js/es6-shim.map. Failed to load resource: The requested URL was not found on this server
</code></pre>

<p>This is my index.html. I have another error stating about ngCordova like this above one. I think my <code>ngCordova</code> not taking its path properly. Any way to test whether its install properly or not.</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html dir="ltr" lang="en"&gt;

&lt;head&gt;
  &lt;title&gt;Ionic&lt;/title&gt;
  &lt;meta charset="UTF-8"&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"&gt;

  &lt;!--&lt;meta http-equiv="Content-Security-Policy" content="img-src 'self' data:; default-src 'self' http://XX.XX.XX.XX:8084/mypp/"&gt;--&gt;
  &lt;!--&lt;meta http-equiv="Content-Security-Policy" content="default-src *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src  'self' 'unsafe-inline' *"&gt;--&gt;
  &lt;meta name="format-detection" content="telephone=no"&gt;
  &lt;meta name="msapplication-tap-highlight" content="no"&gt;

  &lt;link rel="stylesheet" href="build/css/font-awesome.min.css"&gt;
  &lt;link ios-href="build/css/app.ios.css" rel="stylesheet"&gt;
  &lt;link md-href="build/css/app.md.css" rel="stylesheet"&gt;

&lt;script src="lib/ngCordova/dist/ng-cordova.js"&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
  &lt;ion-app&gt;&lt;/ion-app&gt;
  &lt;script src="cordova.js"&gt;&lt;/script&gt;
  &lt;script src="build/js/app.bundle.js"&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>