Hi,
after upgrading my app to ionic 2 rc0 from the latest beta version, chrome always halts during startup on an unfetched exception, when dev tools are opened. Error is:
“TypeError: Failed to execute ‘fetch’ on ‘Window’: 1 argument required, but only 0 present.
at TypeError (native)
at http://localhost:8100/build/polyfills.js:3:16551
at http://localhost:8100/build/polyfills.js:3:16749
at e (http://localhost:8100/build/polyfills.js:2:31200)
at http://localhost:8100/build/polyfills.js:2:31256
at n (http://localhost:8100/build/polyfills.js:1:65)
at t.MyBundle (http://localhost:8100/build/polyfills.js:2:31127)
at http://localhost:8100/build/polyfills.js:3:19992”
This is the code where it stops:
var D = t[n("Promise")] = t.Promise;
if (t.Promise = A,
D && (p(D),
"undefined" != typeof t.fetch)) {
var N = void 0;
try {
N = t.fetch() // <<<<<<<<<< here it stops
} catch (n) {
N = t.fetch("about:blank")
}
N.then(function() {
return null
}, function() {
return null
}),
N.constructor != D && p(N.constructor)
}
Any idea?