Meteor-CollectionFS icon indicating copy to clipboard operation
Meteor-CollectionFS copied to clipboard

How can I remove collection-fs packages from my app?

Open digz6666 opened this issue 8 years ago • 1 comments

How can I remove collection-fs packages from my app completely? After I remove and my app throws following exception on server console:

Got exception while polling query: Error: Custom EJSON type FS.File is not defined

I removed all the collections from mongodb, all the references from my source code.

I removed following packages:

cfs:standard-packages
cfs:filesystem
cfs:graphicsmagic
cfs:ui
cfs:gridfs
cfs:ejson-file

And added following package back to fix the error:

cfs:ejson-file

digz6666 avatar May 23 '16 06:05 digz6666

The cost must be calling FS methods. Find the part in that code and remove it. This will prevent the error.

ankitv89 avatar Aug 17 '16 12:08 ankitv89