gpt4 book ai didi

dart - DartEditor 1.4.3的新安装

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

我加载了Dart 1.4.3的新版本。当我尝试在Dartium中运行我的应用程序时,出现以下堆栈跟踪信息,并且该应用程序无法运行。我不知道这是什么意思。

我在dart中的index.html文件stacktrace表示\打破异常:ReferenceError:未定义平台

谢谢

**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
// @version: 0.3.1-604ba08
window.PolymerGestures={},function(a){var b={shadow:function(a){return a?a.shadowRoot||a.webkitShadowRoot:void 0},canTarget:function(a){return a&&Boolean(a.elementFromPoint)},targetingShadow:function(a){var b=this.shadow(a);return this.canTarget(b)?b:void 0},olderShadow:function(a){var b=a.olderShadowRoot;if(!b){var c=a.querySelector("shadow");c&&(b=c.olderShadowRoot)}return b},allShadows:function(a){for(var b=[],c=this.shadow(a);c;)b.push(c),c=this.olderShadow(c);return b},searchRoot:function(a,b,c){if(a){var d,e,f=a.elementFromPoint(b,c);for(e=this.targetingShadow(f);e;){if(d=e.elementFromPoint(b,c)){var g=this.targetingShadow(d);return ...

最佳答案

问题出在聚合物0.11.0 +5中。您可以使用较旧版本的聚合物,并避免该错误。在pubspec.yaml文件中,指定聚合物的版本。我使用'> = 0.10.0 <0.11.0'。

关于dart - DartEditor 1.4.3的新安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24316834/

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