Meteor-Community-Packages/Meteor-CollectionFS

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

Opened this issue · 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

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