Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Parsing Script? #20

Open
tobyesterhuizen opened this issue Jul 28, 2015 · 1 comment
Open

Error Parsing Script? #20

tobyesterhuizen opened this issue Jul 28, 2015 · 1 comment

Comments

@tobyesterhuizen
Copy link

Just updated from Vulcanize 0.8 to 2.0.1

Removed import statements from imports.html (as in the Differential polymer-demo) and placed them into config.vulcanize as such:

{
"polyfill": "/bower_components/webcomponentsjs/webcomponents.min.js",
"useShadowDom": true,
"imports": [
"/bower_components/core-animation/core-animation.html",
"/bower_components/core-animated-pages/core-animated-pages.html",
etc..
]
}

However receive the following error when trying to run app:

Error parsing script in /bower_components/core-animation/core-animation.html at NaN:NaN undefined

and then a whole bunch of errors to do with: "node_modules/vulcanize/node_modules/hydrolysis/lib/analyzer"

when removing the core-animation import - app runs but receive a bunch of these in the console:
"Ignoring duplicate element definition: undefined"

Using ecwyne/meteor-polymer

Any help would be much appreciated as load time is ridiculous with all the components I would like to use.

@ThaumRystra
Copy link
Contributor

I started getting this today running vulcanize and bower. It started giving the error when unrelated changes were made and then reverted. I can't reproduce this error in other repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants