oortcloud / meteorite

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

mrt migrate-app hangs #302

Closed tejasmanohar closed 10 years ago

tejasmanohar commented 10 years ago

here's the app - https://github.com/tejas-manohar/git-drive - just used a yeoman generator. Tried migrating app after updating to latest meteor and meteorite. $ mrt migrate-app Updating all references to packages in .meteor/packages 1.1. Will update iron-router to cmather:iron-router@0.8.2

It's been sitting on that line for about 15 minutes. Something wrong?

dburles commented 10 years ago

is your meteor installation ok? sometimes it can become broken if you happen to hit ctrl+c during the update to 0.9.0. I've seen it hang much the same way.

Check out https://www.discovermeteor.com/blog/updating-to-090/

tejasmanohar commented 10 years ago

ran npm update -g and meteor update again to no avail. meteor update already said I'm on the latest release.

dburles commented 10 years ago

ok what i'd do since you're using just two packages, first run mrt remove iron-router then run mrt migrate-app then meteor add iron:router

tejasmanohar commented 10 years ago

mrt remove iron-router returns http://pastebin.com/gjePTnpL

I also just reinstalled meteor and tried meteor update which told me I'm on the latest version. Restarted shell and everything.

dburles commented 10 years ago

manually remove iron-router and bootstrap3-less from /.meteor/packages.

meteor add simison:bootstrap3-less meteor add iron:router

then you can delete your smart.json as it's no longer required

tejasmanohar commented 10 years ago

@dburles sure removed and added as you said. Should I try mrt migrate-app now? Also, anything else that I can delete after the update?

dburles commented 10 years ago

you should be all good now, have a look over the 'cleaning up' section, but from looking at your app on github, it should be just fine

tejasmanohar commented 10 years ago

Thanks!

tejasmanohar commented 10 years ago

@dburles after re-cloning the repo, I received the following error with mrt http://pastebin.com/KP9yn861

repo: https://github.com/tejas-manohar/git-office -- feel free to clone

dburles commented 10 years ago

remove the smart.lock as it's not needed and don't use mrt anymore, just meteor

tejasmanohar commented 10 years ago

@dburles wait, no more meteorite?

dburles commented 10 years ago

that's right, https://www.meteor.com/blog/2014/08/26/meteor-090-new-packaging-system

tejasmanohar commented 10 years ago

@dburles another error with meteor http://pastebin.com/DGYNafPQ

dburles commented 10 years ago

make sure you've removed the reference to that package from your .meteor/packages file

tejasmanohar commented 10 years ago

@dburles removed now and re-added via the commands you gave - still another error with missing files, is the package messed up? http://pastebin.com/MX00W4L0

dburles commented 10 years ago

looks like it could be, open an issue or just try another package

tejasmanohar commented 10 years ago

Done!

tejasmanohar commented 10 years ago

@dburles On another project of mine, it hangs like this, http://pastebin.com/FQcPr7wa ... Should I do the same thing?

dburles commented 10 years ago

hmm, i'm not sure what's causing it to hang like that, perhaps @tmeasday might have more of an idea

tejasmanohar commented 10 years ago

Got it!