javascript 如何删除陨石(大气)包?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20607866/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-27 18:52:44  来源:igfitidea点击:

How can I delete a meteorite (atmosphere) package?

javascriptmeteormeteorite

提问by swayziak

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

我想从我的应用程序中删除一个大气包,但我不知道如何删除它。

Thanks.

谢谢。

回答by U?ur Toprakdeviren

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

这太容易了。在终端的目录中写下它;

mrt remove package_name

回答by Akshat

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

有时陨石可能会有点小故障,具体取决于您拥有的版本。通常mrt remove package_name应该这样做,但做所有这些都应该将其删除,并且在您将其添加回来之前不会让它恢复。

  1. Run

    mrt remove package_name

  2. Check your smart.jsonto 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

  1. mrt remove package_name

  2. 检查您smart.json的包裹是否已从该packages : {}部分中删除。

  3. 如果包/符号链接仍然存在于/packages.

  4. 如果您仍然收到错误消息,声称未找到该软件包,请将其从流星中删除

    meteor remove package_name

回答by maudulus

You can use meteor remove package_name

您可以使用 meteor remove package_name

For example: meteor remove kadira:flow-router

例如: meteor remove kadira:flow-router

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

Meteor 0.9 版本使 Meteorite 和 mrt 命令过时。所有新项目都应该使用meteor >> source