调试角和聚合物飞镖 [英] Debuging Angular and Polymer dart
问题描述
我问过问题关于获得一个角色和聚合物的版本,会相互发挥好。现在我有一些麻烦,运行它在dartium和chrome。我的代码与上一个问题相同。当这样做,我要写一篇博客文章,如何获得一个材料设计应用程序在dart中运行,并更新它,因为他们打破了东西。叹。再次感谢您的帮助
I asked a question earlier about getting a version of angular and polymer that would play nice with each other. Now I'm having some trouble running it in both dartium and chrome. My code is the same as the in the previous question. When this is done, I'm gonna write up a blogpost on how to get a material design app up and running in dart and update it as they break things. sigh. thanks again for the help
Dartium输出:
Dartium output:
warning: file:///packages/polymer/polymer.html not found.
warning: file:///packages/paper_elements/paper_tabs.html not found.
warning: file:///packages/paper_elements/paper_tab.html not found.
warning: file:///packages/core_elements/core_header_panel.html not found.
warning: file:///packages/core_elements/core_toolbar.html not found.
Exception: NoSuchMethodError: method not found: 'whenPolymerReady'
Receiver: Instance of 'JsFunction'
Arguments: [Closure: () => dynamic]
Chrome输出:
No getter for '$'.
STACKTRACE:
Error
at dart.b (file:///index.html_bootstrap.dart.js:1296:3)
at bL.DA (file:///index.html_bootstrap.dart.js:4940:20)
at IP.XK (file:///index.html_bootstrap.dart.js:4093:5)
at am.XT (file:///index.html_bootstrap.dart.js:4273:32)
at am.FP (file:///index.html_bootstrap.dart.js:4263:38)
at am.Ic (file:///index.html_bootstrap.dart.js:4245:8)
at am.Oe (file:///index.html_bootstrap.dart.js:4243:18)
at am.cq (file:///index.html_bootstrap.dart.js:4234:8)
at am.nT (file:///index.html_bootstrap.dart.js:4229:8)
at am.PB (file:///index.html_bootstrap.dart.js:4222:8)
推荐答案
在角度变压器中添加文件列表,并将其放置在聚合物的变压器之后。以下是具有更改的提交。我可以在Dartium和Chrome中成功运行 pub服务
。
Adding the list of files in angular transformer and placing it after polymer's transformer worked out. Here's the commit with changes. I was able to run it successfully in Dartium and Chrome with pub serve
.
这篇关于调试角和聚合物飞镖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!