问题
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