MS Edgeでアプリケーションを読み込んでいるときにスクリプトエラーが発生します。しかし、エッジ以外のFirefoxの、クロム、IE11すべての作業、...角2がMS Edgeで動作しない
はここで、コンソールのスクリーンショットです:
こちらをご覧ください:
HTML1300: Navigation occurred.
localhost:23752
SCRIPT65535: Argument not optional
zone.js (556,13)
SCRIPT257: Could not complete the operation due to error 80020101.
localhost:23752 (1,1)
Unhandled Promise rejection: 'Zone' is undefined ; Zone: <root> ; Task: Promise.then ; Value: ReferenceError: 'Zone' is undefined ReferenceError: 'Zone' is undefined
at NgZoneImpl (eval code:8749:13)
at NgZone (eval code:8902:13)
at PlatformRef_.prototype._bootstrapModuleFactoryWithZone (eval code:9447:17)
at Anonymous function (eval code:9489:50)
at ZoneDelegate.prototype.invoke (http://localhost:23752/node_modules/zone.js/dist/zone.js:190:13)
at Zone.prototype.run (http://localhost:23752/node_modules/zone.js/dist/zone.js:85:17)
at Anonymous function (http://localhost:23752/node_modules/zone.js/dist/zone.js:451:17)
at ZoneDelegate.prototype.invokeTask (http://localhost:23752/node_modules/zone.js/dist/zone.js:223:17)
at Zone.prototype.runTask (http://localhost:23752/node_modules/zone.js/dist/zone.js:125:21)
at drainMicroTaskQueue (http://localhost:23752/node_modules/zone.js/dist/zone.js:357:25)
zone.js (344,13)
"Unhandled Promise rejection:"
"'Zone' is undefined"
"; Zone:"
"<root>"
"; Task:"
"Promise.then"
"; Value:"
{
[functions]: ,
__proto__: { },
description: "'Zone' is undefined",
message: "'Zone' is undefined",
name: "ReferenceError",
number: -2146823279,
stack: "ReferenceError: 'Zone' is undefined
at NgZoneImpl (eval code:8749:13)
at NgZone (eval code:8902:13)
at PlatformRef_.prototype._bootstrapModuleFactoryWithZone (eval code:9447:17)
at Anonymous function (eval code:9489:50)
at ZoneDelegate.prototype.invoke (http://localhost:23752/node_modules/zone.js/dist/zone.js:190:13)
at Zone.prototype.run (http://localhost:23752/node_modules/zone.js/dist/zone.js:85:17)
at Anonymous function (http://localhost:23752/node_modules/zone.js/dist/zone.js:451:17)
at ZoneDelegate.prototype.invokeTask (http://localhost:23752/node_modules/zone.js/dist/zone.js:223:17)
at Zone.prototype.runTask (http://localhost:23752/node_modules/zone.js/dist/zone.js:125:21)
at drainMicroTaskQueue (http://localhost:23752/node_modules/zone.js/dist/zone.js:357:25)"
}
"ReferenceError: 'Zone' is undefined
at NgZoneImpl (eval code:8749:13)
at NgZone (eval code:8902:13)
at PlatformRef_.prototype._bootstrapModuleFactoryWithZone (eval code:9447:17)
at Anonymous function (eval code:9489:50)
at ZoneDelegate.prototype.invoke (http://localhost:23752/node_modules/zone.js/dist/zone.js:190:13)
at Zone.prototype.run (http://localhost:23752/node_modules/zone.js/dist/zone.js:85:17)
at Anonymous function (http://localhost:23752/node_modules/zone.js/dist/zone.js:451:17)
at ZoneDelegate.prototype.invokeTask (http://localhost:23752/node_modules/zone.js/dist/zone.js:223:17)
at Zone.prototype.runTask (http://localhost:23752/node_modules/zone.js/dist/zone.js:125:21)
at drainMicroTaskQueue (http://localhost:23752/node_modules/zone.js/dist/zone.js:357:25)"
Error: Uncaught (in promise): ReferenceError: 'Zone' is undefined
zone.js (346,9)
{
[functions]: ,
__proto__: { },
description: "Uncaught (in promise): ReferenceError: 'Zone' is undefined",
message: "Uncaught (in promise): ReferenceError: 'Zone' is undefined",
name: "Error",
promise: { },
rejection: { },
stack: "Error: Uncaught (in promise): ReferenceError: 'Zone' is undefined
at resolvePromise (http://localhost:23752/node_modules/zone.js/dist/zone.js:418:25)
at Anonymous function (http://localhost:23752/node_modules/zone.js/dist/zone.js:454:17)
at ZoneDelegate.prototype.invokeTask (http://localhost:23752/node_modules/zone.js/dist/zone.js:223:17)
at Zone.prototype.runTask (http://localhost:23752/node_modules/zone.js/dist/zone.js:125:21)
at drainMicroTaskQueue (http://localhost:23752/node_modules/zone.js/dist/zone.js:357:25)
at g (http://localhost:23752/node_modules/core-js/client/shim.min.js:8:10014)
at Anonymous function (http://localhost:23752/node_modules/core-js/client/shim.min.js:8:10138)
at k (http://localhost:23752/node_modules/core-js/client/shim.min.js:8:14293)",
task: {
[functions]: ,
__proto__: { },
cancelFn: null,
data: undefined,
runCount: 1,
scheduleFn: undefined,
source: "Promise.then",
type: "microTask",
zone: { }
},
zone: {
[functions]: ,
__proto__: { },
_name: "<root>",
_parent: null,
_properties: { },
_zoneDelegate: { },
name: "<root>",
parent: null
}
}
私も気づいた何Argument not optional
in zone.js on line 556
if (NativePromise) {
patchThen(NativePromise);
if (typeof global['fetch'] !== 'undefined') {
var fetchPromise = global['fetch']();
// ignore output to prevent error;
fetchPromise.then(function() { return null; }, function() { return null; });
if (fetchPromise.constructor != NativePromise) {
patchThen(fetchPromise.constructor);
}
}
}
および特定の行は次のとおりです。
その後心配にエラーが発生した:「80020101エラーのため操作を完了できませんでした」
その問題に対する解決策の多くは、あります。ダブルスラッシュされたコメントやスクリプトタグ内のhtmlコメントは削除されますが、どちらも機能しません。
誰もが手掛かりを持っていますか?
最新のMSインサイダープレビューEdge 39.14915を使用しています。
ため、この答えはfetch' 'の彼らの実装に問題がある可能性があり参照してください。あなたはプレビュー版を使っています...多分あなたはMSに尋ねるべきですか? –
これは私が思ったことですが、インサイダープレビューがインストールされていないPCはありませんので、友人にアプリのテストを依頼する必要があります。私はバグ情報をここにリンクしてください。 –