boxxa / meteor-polymer Goto Github PK
View Code? Open in Web Editor NEWAdding Polymer to MeteorJS
Adding Polymer to MeteorJS
Hello
I've installed both your packages boxxa:polymer and boxxa:polymer-elements but they don't seem to be doing anything.
I'd expect that they'd run bower for me and download all components into public/bower_components
but that doesn't happen
nor it creates the polyfill
I've had to use
bower install --save Polymer/polymer
anyways
I don't understand what they really do
can you please explain a bit better how to install and use them?
I get the following error every time that I want to start up my meteor instance:
I20150910-02:49:04.922(-5)? Polymer exist already. To reinitialize, remove bower_components from your public/ folder
I20150910-02:49:05.771(-5)? installing polymer-paper-elements
W20150910-02:49:09.694(-5)? (STDERR)
W20150910-02:49:09.694(-5)? (STDERR) /home/bk/.meteor/packages/meteor-tool/.1.1.4.n88zsi++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:278
W20150910-02:49:09.694(-5)? (STDERR) throw(ex);
W20150910-02:49:09.694(-5)? (STDERR) ^
W20150910-02:49:09.721(-5)? (STDERR) polymer: Unable to find suitable version for polymer
W20150910-02:49:09.722(-5)? (STDERR) at Object.Future.wait (/home/bk/.meteor/packages/meteor-tool/.1.1.4.n88zsi++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:398:15)
W20150910-02:49:09.722(-5)? (STDERR) at Object.install (packages/meteor/helpers.js:119:1)
W20150910-02:49:09.722(-5)? (STDERR) at Package (packages/boxxa:polymer-paper/boxxa:polymer-paper.js:25:1)
W20150910-02:49:09.722(-5)? (STDERR) at /run/media/bk/0378110d-2574-4da5-9118-13ff90196dc7/source/scatpod/.meteor/local/build/programs/server/packages/boxxa_polymer-paper.js:48:4
W20150910-02:49:09.722(-5)? (STDERR) at /run/media/bk/0378110d-2574-4da5-9118-13ff90196dc7/source/scatpod/.meteor/local/build/programs/server/packages/boxxa_polymer-paper.js:55:3
W20150910-02:49:09.722(-5)? (STDERR) at /run/media/bk/0378110d-2574-4da5-9118-13ff90196dc7/source/scatpod/.meteor/local/build/programs/server/boot.js:222:10
W20150910-02:49:09.722(-5)? (STDERR) at Array.forEach (native)
W20150910-02:49:09.723(-5)? (STDERR) at Function._.each._.forEach (/home/bk/.meteor/packages/meteor-tool/.1.1.4.n88zsi++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20150910-02:49:09.723(-5)? (STDERR) at /run/media/bk/0378110d-2574-4da5-9118-13ff90196dc7/source/scatpod/.meteor/local/build/programs/server/boot.js:117:5
W20150910-02:49:09.723(-5)? (STDERR) - - - - -
W20150910-02:49:09.723(-5)? (STDERR) at createError (/home/bk/.meteor/packages/boxxa_polymer-paper/.1.0.0.1c1aj0n++os+web.browser+web.cordova/npm/node_modules/bower/lib/util/createError.js:4:15)
W20150910-02:49:09.723(-5)? (STDERR) at Manager._electSuitable (/home/bk/.meteor/packages/boxxa_polymer-paper/.1.0.0.1c1aj0n++os+web.browser+web.cordova/npm/node_modules/bower/lib/core/Manager.js:763:15)
W20150910-02:49:09.723(-5)? (STDERR) at /home/bk/.meteor/packages/boxxa_polymer-paper/.1.0.0.1c1aj0n++os+web.browser+web.cordova/npm/node_modules/bower/lib/core/Manager.js:558:25
W20150910-02:49:09.723(-5)? (STDERR) at _fulfilled (/home/bk/.meteor/packages/boxxa_polymer-paper/.1.0.0.1c1aj0n++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:787:54)
W20150910-02:49:09.724(-5)? (STDERR) at self.promiseDispatch.done (/home/bk/.meteor/packages/boxxa_polymer-paper/.1.0.0.1c1aj0n++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:816:30)
W20150910-02:49:09.724(-5)? (STDERR) at Promise.promise.promiseDispatch (/home/bk/.meteor/packages/boxxa_polymer-paper/.1.0.0.1c1aj0n++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:749:13)
W20150910-02:49:09.724(-5)? (STDERR) at /home/bk/.meteor/packages/boxxa_polymer-paper/.1.0.0.1c1aj0n++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:810:14
W20150910-02:49:09.724(-5)? (STDERR) at flush (/home/bk/.meteor/packages/boxxa_polymer-paper/.1.0.0.1c1aj0n++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:108:17)
W20150910-02:49:09.724(-5)? (STDERR) at process._tickCallback (node.js:442:13)
It repeats itself 3 times and then stops trying to load the server. I tried adding the following to my <head>
, but it didn't do anything (I'm using jade):
link(href='bower_components/polymer/polymer.html' rel='import')
I do have the public
, private
, and server
folders, but that doesn't seem to be the issue. HTH
Hi there,
I am testing this package on a windows 7 machine, and after installing the package and starting meteor, this is the error message I am getting:
=> Exited with code: 8
W20150606-19:09:04.139(0)? (STDERR)
W20150606-19:09:04.141(0)? (STDERR) C:.meteor\packages\meteor-tool\1.1.3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:245
W20150606-19:09:04.141(0)? (STDERR) throw(ex);
W20150606-19:09:04.141(0)? (STDERR) ^
W20150606-19:09:04.142(0)? (STDERR) TypeError: Arguments to path.resolve must be strings
W20150606-19:09:04.142(0)? (STDERR) at Object.exports.resolve (path.js:116:15)
W20150606-19:09:04.142(0)? (STDERR) at Object.exports.relative (path.js:240:18)
W20150606-19:09:04.142(0)? (STDERR) at Package (packages/boxxa:polymer/boxxa:polymer.js:21:1)
Kindly suggest what could be wrong.
Every time I run meteor I get these 2:
I20150222-01:15:50.324(-5)? Polymer exist already. To reinitialize, remove bower_components from your public/ folder
I20150222-01:15:51.179(-5)? Polymer-elements exist already. To reinitialize, remove bower_components from your public/ folder
It is very strange.
I've created the public
, server
, and client
folders on a brand new meteor project and I'm receiving the following error.
W20150815-18:30:50.562(-7)? (STDERR)
W20150815-18:30:50.562(-7)? (STDERR) /Users/ryanwatts/.meteor/packages/meteor-tool/.1.1.4.j9dzi4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:278
W20150815-18:30:50.563(-7)? (STDERR) throw(ex);
W20150815-18:30:50.563(-7)? (STDERR) ^
W20150815-18:30:50.602(-7)? (STDERR) Error: No tag found that was able to satisfy 1.0.0
W20150815-18:30:50.603(-7)? (STDERR) at Object.install (packages/meteor/helpers.js:119:1)
W20150815-18:30:50.602(-7)? (STDERR) at Object.Future.wait (/Users/ryanwatts/.meteor/packages/meteor-tool/.1.1.4.j9dzi4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:398:15)
W20150815-18:30:50.603(-7)? (STDERR) at Package (packages/boxxa:polymer-elements/boxxa:polymer-elements.js:25:1)
W20150815-18:30:50.603(-7)? (STDERR) at /Users/ryanwatts/Documents/Sites/MeteorApps/polymer/.meteor/local/build/programs/server/packages/boxxa_polymer-elements.js:50:4
W20150815-18:30:50.603(-7)? (STDERR) at /Users/ryanwatts/Documents/Sites/MeteorApps/polymer/.meteor/local/build/programs/server/packages/boxxa_polymer-elements.js:57:3
W20150815-18:30:50.603(-7)? (STDERR) at /Users/ryanwatts/Documents/Sites/MeteorApps/polymer/.meteor/local/build/programs/server/boot.js:222:10
W20150815-18:30:50.603(-7)? (STDERR) at Array.forEach (native)
W20150815-18:30:50.603(-7)? (STDERR) at Function._.each._.forEach (/Users/ryanwatts/.meteor/packages/meteor-tool/.1.1.4.j9dzi4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20150815-18:30:50.603(-7)? (STDERR) at /Users/ryanwatts/Documents/Sites/MeteorApps/polymer/.meteor/local/build/programs/server/boot.js:117:5
W20150815-18:30:50.604(-7)? (STDERR) - - - - -
W20150815-18:30:50.604(-7)? (STDERR) at createError (/Users/ryanwatts/.meteor/packages/boxxa_polymer-elements/.1.0.0.1g50myd++os+web.browser+web.cordova/npm/node_modules/bower/lib/util/createError.js:4:15)
W20150815-18:30:50.604(-7)? (STDERR) at /Users/ryanwatts/.meteor/packages/boxxa_polymer-elements/.1.0.0.1g50myd++os+web.browser+web.cordova/npm/node_modules/bower/lib/core/resolvers/GitResolver.js:144:23
W20150815-18:30:50.604(-7)? (STDERR) at /Users/ryanwatts/.meteor/packages/boxxa_polymer-elements/.1.0.0.1g50myd++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:1142:26
W20150815-18:30:50.604(-7)? (STDERR) at _fulfilled (/Users/ryanwatts/.meteor/packages/boxxa_polymer-elements/.1.0.0.1g50myd++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:787:54)
W20150815-18:30:50.604(-7)? (STDERR) at self.promiseDispatch.done (/Users/ryanwatts/.meteor/packages/boxxa_polymer-elements/.1.0.0.1g50myd++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:816:30)
W20150815-18:30:50.604(-7)? (STDERR) at Promise.promise.promiseDispatch (/Users/ryanwatts/.meteor/packages/boxxa_polymer-elements/.1.0.0.1g50myd++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:749:13)
W20150815-18:30:50.604(-7)? (STDERR) at /Users/ryanwatts/.meteor/packages/boxxa_polymer-elements/.1.0.0.1g50myd++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:509:49
W20150815-18:30:50.604(-7)? (STDERR) at flush (/Users/ryanwatts/.meteor/packages/boxxa_polymer-elements/.1.0.0.1g50myd++os+web.browser+web.cordova/npm/node_modules/bower/node_modules/q/q.js:108:17)
W20150815-18:30:50.604(-7)? (STDERR) at process._tickCallback (node.js:442:13)
=> Couldn't spawn process: channel closed
Hi Boxxa, again :)
I understand that you've simply forked the code from ecywin and simply updated the polymer version.. so you tell me if I should go ask the original author about this question.
The package throws an error when working offline:
this error happens also with the boxxa:polymer-elements package
I20150205-19:09:08.573(1)? installing polymer into public directory...
W20150205-19:09:08.683(1)? (STDERR)
W20150205-19:09:08.683(1)? (STDERR) /Users/b/.meteor/packages/meteor-tool/.1.0.40.1jrw2w5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:206
W20150205-19:09:08.683(1)? (STDERR) throw(ex);
W20150205-19:09:08.684(1)? (STDERR) ^
W20150205-19:09:08.699(1)? (STDERR) Error: Failed to execute "git ls-remote --tags --heads git://github.com/Polymer/polymer.git", exit code of #128
W20150205-19:09:08.699(1)? (STDERR) at Object.Future.wait (/Users/b/.meteor/packages/meteor-tool/.1.0.40.1jrw2w5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:326:15)
W20150205-19:09:08.699(1)? (STDERR) at Object.install (packages/meteor/helpers.js:119:1)
W20150205-19:09:08.699(1)? (STDERR) at Package (packages/boxxa:polymer/boxxa:polymer.js:25:1)
W20150205-19:09:08.699(1)? (STDERR) at /Users/b/Documents/Polymer/polymer-tutorial-meteor/.meteor/local/build/programs/server/packages/boxxa_polymer.js:50:4
W20150205-19:09:08.699(1)? (STDERR) at /Users/b/Documents/Polymer/polymer-tutorial-meteor/.meteor/local/build/programs/server/packages/boxxa_polymer.js:57:3
W20150205-19:09:08.700(1)? (STDERR) at /Users/b/Documents/Polymer/polymer-tutorial-meteor/.meteor/local/build/programs/server/boot.js:205:10
W20150205-19:09:08.700(1)? (STDERR) at Array.forEach (native)
W20150205-19:09:08.700(1)? (STDERR) at Function._.each._.forEach (/Users/b/.meteor/packages/meteor-tool/.1.0.40.1jrw2w5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20150205-19:09:08.700(1)? (STDERR) at /Users/b/Documents/Polymer/polymer-tutorial-meteor/.meteor/local/build/programs/server/boot.js:116:5
W20150205-19:09:08.700(1)? (STDERR) - - - - -
W20150205-19:09:08.700(1)? (STDERR) at createError (/Users/b/.meteor/packages/boxxa_polymer/.0.5.4.znfoex++os+web.browser+web.cordova/npm/node_modules/bower/lib/util/createError.js:4:15)
W20150205-19:09:08.700(1)? (STDERR) at ChildProcess.<anonymous> (/Users/b/.meteor/packages/boxxa_polymer/.0.5.4.znfoex++os+web.browser+web.cordova/npm/node_modules/bower/lib/util/cmd.js:102:21)
W20150205-19:09:08.700(1)? (STDERR) at ChildProcess.emit (events.js:98:17)
W20150205-19:09:08.700(1)? (STDERR) at maybeClose (child_process.js:756:16)
W20150205-19:09:08.700(1)? (STDERR) at Socket.<anonymous> (child_process.js:969:11)
W20150205-19:09:08.701(1)? (STDERR) at Socket.emit (events.js:95:17)
W20150205-19:09:08.701(1)? (STDERR) at Pipe.close (net.js:465:12)
it seems that localCache
is always empty
any ideas?
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.