gpt4 book ai didi

dart - Polymer应用程序无法在Safari中加载(1.0版之前的版本)

转载 作者:行者123 更新时间:2023-12-03 03:44:04 27 4
gpt4 key购买 nike

大量错误,我的应用无法加载。在台式机(OSX El Capitan)和移动版(iOS9)上为True。

http://d.pr/i/1lvBa

错误如:

TypeError: Attempting to change configurable attribute of unconfigurable property.

ReferenceError: Can't find variable: HTMLImports
(anonymous function)
atEndOfMicrotask

TypeError: document.registerElement is not a function. (In 'document.registerElement('polymer-element', {prototype: prototype})', 'document.registerElement' is undefined)

和更多...

我的聚合物( Dart )版本为0.16.3 + 3。

最佳答案

我认为您遇到了这个问题https://github.com/dart-lang/polymer-dart/issues/538

It appears that problem is in outdated web_components, i got it all working on iOS 9 and OSX 10.11 by overriding web_components in my yams file by adding:

dependency_overrides: web_components: "^0.12.0+3"

关于dart - Polymer应用程序无法在Safari中加载(1.0版之前的版本),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33361258/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com