Differential / meteor-vulcanize

Vulcanize html imports in your meteor app.
32 stars 15 forks source link

Unexprected token #22

Closed Unavi closed 9 years ago

Unavi commented 9 years ago

When I run the project with the standard config:

{
    "polyfill": "/bower_components/webcomponentsjs/webcomponents.min.js",
    "useShadowDom": true, // optional, defaults to shady dom (polymer default)
    "imports": [
        "/bower_components/paper-button/paper-button.html",
        "/bower_components/paper-checkbox/paper-checkbox.html"
    ]
}

I get this:

=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
   While building the application:
   native: Unexpected token / (compiling config.vulcanize)
   at Object.parse (native)
   at Package (packages/vulcanize/vulcanize.js:118:1)

The paths are right and when I do it by hand with the vulcanize command line it works. Any idea why it's not working?

schnie commented 9 years ago

What happens if you remove the comment on the useShadowDom line?

On Wed, Sep 9, 2015 at 7:42 PM, Lukas Paul notifications@github.com wrote:

When I run the project with the standard config:

{ "polyfill": "/bower_components/webcomponentsjs/webcomponents.min.js", "useShadowDom": true, // optional, defaults to shady dom (polymer default) "imports": [ "/bower_components/paper-button/paper-button.html", "/bower_components/paper-checkbox/paper-checkbox.html" ] }

I get this:

=> Started proxy. => Started MongoDB. => Errors prevented startup: While building the application: native: Unexpected token / (compiling config.vulcanize) at Object.parse (native) at Package (packages/vulcanize/vulcanize.js:118:1)

The paths are right and when I do it by hand with the vulcanize command line it works. Any idea why it's not working?

— Reply to this email directly or view it on GitHub https://github.com/Differential/meteor-vulcanize/issues/22.

Unavi commented 9 years ago

You are the man, the myth, the legend. :smile: I slowly grew desperate trying to add it with bower myself^^

Made my day^^