Closed ThaumRystra closed 8 years ago
I haven't had a chance to upgrade yet but will look at this when I do. Until then, I'll gladly accept a PR if you want to take a crack at it! On Sep 23, 2015 7:39 AM, "Stefan Zermatten" notifications@github.com wrote:
In all my projects that use vulcanize, when upgrading to Meteor 1.2 headers are no longer included, breaking all Polymer elements. This happens whether VULCANIZE=true or not.
— Reply to this email directly or view it on GitHub https://github.com/Differential/meteor-vulcanize/issues/24.
I'm preventing from opening up another issue as I suspect an issue with meteor 1.2. My issue is: Uncaught TypeError: Polymer is not a function
I'm having some of the same issues. I am unable to get polymer and meteor to work together after upgrading to meteor 1.2.1. I tried @ThaumRystra 's instructions is his https://github.com/Differential/meteor-vulcanize/issues/25, but I get an error there also.
I'll probably have to change over from polymer for the front end, and that's kind of disappointing. Great work so far, I hope this gets fixed.
but I get an error there also.
@xalgorithm What error are you getting? When you build or in the client?
When I run meteor from the terminal, not building. I've not gotten that far yet.
I've ensured that I'm using your alternative patched branch.
....
check 1.1.0 Check whether a value matches a pattern
coffeescript 1.0.11 Javascript dialect with fewer braces and semicolons
_differential:vulcanize 2.0.1+ Vulcanize_
ejson 1.0.7 Extended and Extensible JSON library
insecure 1.0.4 (For prototyping only) Allow all database writes from the client
iron:router 1.0.12 Routing specifically designed for Meteor
...
+ These packages are built locally from source.
My error:
While processing files with templating (for target web.browser):
client/templates/layout/imports.html:2: Expected one of: <body>, <head>, <template>
While processing files with templating (for target web.cordova):
client/templates/layout/imports.html:2: Expected one of: <body>, <head>, <template>
=> Your application has errors. Waiting for file change.
The Repo and Branch: https://github.com/SLACNationalAcceleratorLaboratory/data-center-sensors/tree/polymer-interface
Also, thanks for any assistance. It is much appreciated. I am no Meteor expert and I'm piecing how all of this works from docs and stack exchange.
As of version 1.0 vulcanize uses a config.vulcanize
file, not imports.html
. Check the readme for details on how to set it up.
Hello, Sorry i have problem with the config.vulcanize. The file vulcanize-...html is not generated. I use meteor 1.2.1 and polymer 1.2.1. Can you see the problem plz :)
this is my config : config.vulcanize: { "polyfill": "/bower_components/webcomponentsjs/webcomponents-lite.min.js", "useShadowDom": false, "imports": [ "/bower_components/google-map/google-map.html", "/bower_components/google-map/google-map-marker.html", "/bower_components/google-map/google-map-directions.html", "/components/component-index/component-index.html", "/components/bar-chart/bar-chart.html" ] }
and my packages : D:\staf\TestGitHub\testIronMeteor\app>meteor list blaze-html-templates 1.0.1 Compile HTML templates into reactive UI with Meteor Blaze check 1.1.0 Check whether a value matches a pattern d3 1.0.0 Library for manipulating documents based on data differential:vulcanize 2.0.1 Vulcanize ejson 1.0.7 Extended and Extensible JSON library force-ssl 1.0.6 Require this application to use HTTPS insecure 1.0.4 (For prototyping only) Allow all database writes from the client iron:router 1.0.12 Routing specifically designed for Meteor jquery 1.11.4 Manipulate the DOM using CSS selectors logging 1.0.8 Logging facility. mdg:geolocation 1.1.0 Provides reactive geolocation on desktop and mobile. meteor-base 1.0.1 Packages that every Meteor app needs mobile-experience 1.0.1 Packages for a great mobile user experience mongo 1.1.3 Adaptor for using MongoDB and Minimongo over DDP random 1.0.5 Random number generator and utilities reload 1.1.4 Reload the page while preserving application state. session 1.1.1 Session variable spacebars 1.0.7 Handlebars-like template language for Meteor standard-minifiers 1.0.2 Standard minifiers used with Meteor apps by default. tracker 1.0.9 Dependency tracker to allow reactive callbacks
"C:\Program Files (x86)\JetBrains\WebStorm 9.0.2\bin\runnerw.exe" C:\Users\insit05\AppData\Local.meteor\meteor.bat [[[[[ ~\D\staf\TestGitHub\testIronMeteor\app ]]]]]
=> Started proxy. => Started MongoDB. => Vulcanize: Importing vulcanized file... => Started your app.
=> App running at: http://localhost:3000/ Type Control-C twice to stop.
Thx a lot :)
LP
That solved it, thank you. I've pulled Polymer 5 and just added the base polymer 1.0 package. I'll try and reconstruct from there.
In all my projects that use vulcanize, when upgrading to Meteor 1.2 headers are no longer included, breaking all Polymer elements. This happens whether VULCANIZE=true or not.