使用CLI工具在Polymer构建中缺少< component> .html_script_0.js文件 [英] Missing <component>.html_script_0.js files in Polymer build using the CLI tool
问题描述
我在运行聚合物CLI的polymer build
命令时遇到问题,它给了我以下反馈:
时显示错误消息
,并且我的内置文件夹(无论是捆绑还是未捆绑)都没有javascript文件.构建过程将<script>
标记与javascript文件的src
放置在我的javascript代码所在的位置,但是不会生成此文件.
我不知道这两个错误是否都相关,但是我不知道如何生成<component>.html_script_0.js
文件.
修复程序已被合并,并且是 v0.9.0 ,但我不确定是否可以解决刚刚在npm上播放.
I'm having problems running the polymer build
command of the polymer CLI, it gives me the following feedback:
and neither of my built folders (bundled or unbundled) have the javascript files. The build process places <script>
tag with the src
of a javascript file in the place of my javascript code, but this files are not being generated.
I don't know if both errors are related, but I don't know what can I do to generate the <component>.html_script_0.js
files.
I had this same problem and saw that there were several issues reporting it.
It seems a fix has been already merged and is part of v0.9.0 but I'm not completely sure if the fix is up on npm just yet.
这篇关于使用CLI工具在Polymer构建中缺少< component> .html_script_0.js文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!