7

I want to delete a atmosphere package from my app, but I don't know how to remove it.

Thanks.

swayziak
  • 353
  • 2
  • 7
  • 22

3 Answers3

13

It is so easy. In your directory in terminal write it;

mrt remove package_name
delibalta
  • 300
  • 2
  • 11
9

Sometimes meteorite can be a bit glitchy depending on the version you have. Usually mrt remove package_name should do it but doing all of these should remove it and not let it get back till you add it back.

  1. Run

    mrt remove package_name

  2. Check your smart.json to see if your package has been removed from the packages : {} section.

  3. Delete the package/symlink if it still exists in /packages.

  4. If you still get an error claiming the package is not found remove it from meteor too

    meteor remove package_name

Tarang
  • 75,157
  • 39
  • 215
  • 276
  • Yup, I've found that meteorite can be a bit 'clingy' on packages it's downloaded. – TonyM Dec 16 '13 at 13:09
  • Thanks for this comprehensive answer. I tried mrt remove and while it said it removed it, the package was still in my smart.json, a file I didn't even know existed before reading your answer. – James Nisbet Nov 03 '14 at 21:50
  • 1
    @JamesNisbet Keep in mind mrt has been deprecated now. We don't use smart.json/meteorite anymore. Meteor 0.9.x merged meteorite in, so you can just use `meteor add xxx` and `meteor remove xxx` on its own now. You *CAN* still use meteorite for private packages though. I wouldn't recommend it for the stuff on atmosphere though. – Tarang Nov 04 '14 at 08:03
2

You can use meteor remove package_name

For example: meteor remove kadira:flow-router

Meteor 0.9 release rendered Meteorite and the mrt command obsolete. All new projects should use meteor >> source

Community
  • 1
  • 1
maudulus
  • 10,627
  • 10
  • 78
  • 117