Meteor-Community-Packages / Meteor-CollectionFS

Reactive file manager for Meteor
MIT License
1.05k stars 237 forks source link

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

Open digz6666 opened 8 years ago

digz6666 commented 8 years ago

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
ankitv89 commented 8 years ago

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