是否有像polyup这样的聚合物2迁移工具,因为我有几个元素,而polyup只是从版本0.5迁移到版本1.0。 我知道polyup效率不高,但至少它会跳过无聊的无聊部分。
答案 0 :(得分:2)
还没有。如Polymer 2.0-preview wiki中所述:
在发布Polymer 2.0之前,我们还将提供一个升级工具,以尽可能多地自动化所需的更改(包括必需和推荐)。
该团队在Slack暗示暂定发布日期为2.0明年年初,所以你可以期待这个工具。
答案 1 :(得分:2)
您可以将{strong> Polymer linter https://github.com/Polymer/polymer-linter与$ sudo strace ./local/opt/bin/ndctl create-namespace -f -e namespace0.0 -m dax
. . .
open("/sys/devices/platform/e820_pmem/ndbus0/region0/pfn0.0/align",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/sys/devices/platform/e820_pmem/ndbus0/region0/pfn0.0/resource",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/sys/devices/platform/e820_pmem/ndbus0/region0/pfn0.0/size",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
open("/sys/devices/platform/e820_pmem/ndbus0/region0/dax_seed",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(2, "failed to reconfigure namespace:"..., 66failed to reconfigure
namespace: Resource temporarily unavailable
) = 66
exit_group(245) = ?
+++ exited with 245 +++
选项一起使用--fix
模式。