如何从Meteor中完全删除collection-fs?

时间:2016-09-30 22:27:24

标签: meteor

我正在尝试完全删除所有collection-fs。我手动将它们从版本中移除,但是当我运行流星时,它会将它们全部重新投入:

=> Started proxy.                             
=> Started MongoDB.                           

Changes to your project's package version selections:

cfs:access-point        added, version 0.1.49 
cfs:base-package        added, version 0.0.30
cfs:collection          added, version 0.5.5
cfs:collection-filters  added, version 0.2.4
cfs:data-man            added, version 0.0.6
cfs:file                added, version 0.1.17
cfs:gridfs              added, version 0.0.33
cfs:http-methods        added, version 0.0.32
cfs:http-publish        added, version 0.0.13
cfs:power-queue         added, version 0.9.11
cfs:reactive-list       added, version 0.0.9
cfs:reactive-property   added, version 0.0.4
cfs:s3                  added, version 0.1.3
cfs:standard-packages   added, version 0.5.9
cfs:storage-adapter     added, version 0.2.3
cfs:tempstore           added, version 0.1.5
cfs:upload-http         added, version 0.0.20
cfs:worker              added, version 0.1.4

是否有更好的方法可以完全摆脱collection-fs。它阻止我更新到Meteor 1.4.1.1。具体来说是cfs:gridfs

我尝试了meteor remove cfs:gridfs,但获得了cfs:gridfs is not a direct dependency in this project.

感谢。

2 个答案:

答案 0 :(得分:2)

从版本中删除条目不会删除包。 另一个包依赖于collection-fs,你需要解决这个问题。

答案 1 :(得分:1)

您必须从.meteor / packages文件中删除所有cfs软件包,而不是从版本中删除。