oortcloud / meteorite

Installer & smart package manager for Meteor
http://oortcloud.github.com/meteorite/
MIT License
841 stars 106 forks source link

Meteorite not installing on node 0.8.8 #26

Closed badslug closed 12 years ago

badslug commented 12 years ago

It looks like meteorite depends on commander which doesn't support node 0.8.x. Tom thought the commander dependency was removed for 0.0.13 but it doesn't appear to be. Is node 0.8.x not supported? Thanks

$ sudo npm install meteorite -g
npm http GET https://registry.npmjs.org/meteorite
npm http 200 https://registry.npmjs.org/meteorite
npm http GET https://registry.npmjs.org/meteorite/-/meteorite-0.0.13.tgz
npm http 200 https://registry.npmjs.org/meteorite/-/meteorite-0.0.13.tgz
npm http GET https://registry.npmjs.org/ddp
npm http GET https://registry.npmjs.org/prompt/0.2.3
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/fstream
npm http GET https://registry.npmjs.org/wrench
npm http GET https://registry.npmjs.org/optimist
npm http 200 https://registry.npmjs.org/ddp
npm http GET https://registry.npmjs.org/ddp/-/ddp-0.2.0.tgz
npm http 200 https://registry.npmjs.org/prompt/0.2.3
npm http GET https://registry.npmjs.org/prompt/-/prompt-0.2.3.tgz
npm http 200 https://registry.npmjs.org/underscore
npm http 200 https://registry.npmjs.org/ddp/-/ddp-0.2.0.tgz
npm http 200 https://registry.npmjs.org/wrench
npm http 200 https://registry.npmjs.org/fstream
npm http 200 https://registry.npmjs.org/prompt/-/prompt-0.2.3.tgz
npm http 200 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/ws/0.4.16
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/read
npm http GET https://registry.npmjs.org/revalidator
npm http GET https://registry.npmjs.org/utile
npm http GET https://registry.npmjs.org/winston
npm http 200 https://registry.npmjs.org/ws/0.4.16
npm http GET https://registry.npmjs.org/ws/-/ws-0.4.16.tgz
npm http 200 https://registry.npmjs.org/wordwrap
npm http 200 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/rimraf
npm http 200 https://registry.npmjs.org/graceful-fs
npm http 200 https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.1.10.tgz
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.4.tgz
npm http 200 https://registry.npmjs.org/pkginfo
npm http 200 https://registry.npmjs.org/read
npm http 200 https://registry.npmjs.org/revalidator
npm http GET https://registry.npmjs.org/read/-/read-0.1.1.tgz
npm http 200 https://registry.npmjs.org/ws/-/ws-0.4.16.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.1.10.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.4.tgz
npm http 200 https://registry.npmjs.org/utile
npm http GET https://registry.npmjs.org/utile/-/utile-0.1.3.tgz
npm http 200 https://registry.npmjs.org/read/-/read-0.1.1.tgz
npm http 200 https://registry.npmjs.org/utile/-/utile-0.1.3.tgz
npm http 200 https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/i
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/options
npm http GET https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/deep-equal
npm http 200 https://registry.npmjs.org/i
npm http 200 https://registry.npmjs.org/colors
npm http 200 https://registry.npmjs.org/cycle
npm http 200 https://registry.npmjs.org/ncp
npm http 200 https://registry.npmjs.org/eyes
npm http 200 https://registry.npmjs.org/options
npm http 200 https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/options/-/options-0.0.3.tgz
npm http 200 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/commander
npm http 200 https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/request/-/request-2.9.203.tgz
npm http 200 https://registry.npmjs.org/options/-/options-0.0.3.tgz
npm ERR! error rolling back ws@0.4.16 Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws'
npm ERR! error rolling back ddp@0.2.0 Error: ENOTEMPTY, rmdir '/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/node_modules/options'

npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: commander@0.5.2
npm ERR! Required: {"node":">= 0.4.x < 0.8.0"}
npm ERR! Actual:   {"npm":"1.1.24","node":"0.8.8"}
npm ERR! 
npm ERR! System Darwin 12.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "meteorite" "-g"
npm ERR! cwd /Users/ion/dev/meteor/my-test-project
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.24
npm ERR! code ENOTSUP
npm ERR! message Unsupported
npm ERR! errno {}
npm http 200 https://registry.npmjs.org/request/-/request-2.9.203.tgz
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/ion/dev/meteor/my-test-project/npm-debug.log
npm not ok
$ 
possibilities commented 12 years ago

Ah, Ok, it's coming in through ddp... will push out a new release that should fix this in a few...

possibilities commented 12 years ago

Can you try .14?

possibilities commented 12 years ago

Mate that .15

badslug commented 12 years ago

Yup, that fixed it - everything working fine now. BTW, the meteorite repo on github has suddenly vanished. Did you make it private or something?

-iain

On Aug 24, 2012, at 2:08 AM, Mike Bannister notifications@github.com wrote:

Mate that .15

— Reply to this email directly or view it on GitHub.

possibilities commented 12 years ago

Yay! So the other issue you reported with underscore.string is all set too?

P.s. Moved to org account https://github.com/oortcloud/meteorite https://github.com/oortcloud/atmosphere

badslug commented 12 years ago

Yes, it does solve the problem I had with underscore.string as well (looks like the older version of meteorite running on the incompatible newer version of node was at fault - not sure if there is any way to detect running on an incompatible version of node and asking to upgrade automatically).

Cool, makes sense to move it to an org account where everything is grouped together. One suggestion would be for you to create a meteorite and atmosphere project under your personal account and just put a README in each pointing to the new org repos. Otherwise all our old links in the google groups and websites etc that refer to the old URLs will get 404s.

possibilities commented 12 years ago

yes, will do that thanks!

also, yes, when i fix the --version thing you talked about i'm gonna make atmosphere yell at you if you're using an old version of mrt

badslug commented 12 years ago

Cool, I saw the ticket for old version detection - that will be very handy. It was a bit funny because Tom was helping troubleshoot the issues I was having with underscore-string and asked what version of meteorite I had installed - and I asked him how to tell, and he thought about it a bit and then realized he didn't know how to get the version number from an installed meteorite. :)

I suppose even longer term - it may help to think about how to version smart packages to atmosphere versions to handle the case where a smart package is made for a version of atmosphere/meteriorite and is not updated if/when atmosphere/meteorite is updated and the tools are incompatible with older smart packages. I know meteorite is a temporary tool until meteor gets the same functionality but it's feeling like we'll be so far along with meteorite that meteor will just adopt and incorporate meteorite (like how Node folded in npm).