Missing <component>.html_script_0.js files in Polymer build using the CLI tool

£可爱£侵袭症+ 提交于 2019-12-11 01:40:36

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/37449621/missing-component-html-script-0-js-files-in-polymer-build-using-the-cli-tool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!