GridFS does not exist Error

Hello,
I am using CollectionFS GridFS to store images. Everything works fine while my collection was inside a lib folder. But when I adopted the new structure from the Meteor guide putting my assets collection inside imports/api I started getting this error when i insert files, the files are inserted into the database but it’s still throws an this error - “throw message 59c7aa9774556e581bd5edc5 does not exist” on the terminal. Could it be because of the project structure, please who knows what could be causing this?

I just discovered that it is deprecated. Please are there better alternatives?

@tobitech CollectionFS GridFS is not really a great solution for scale. You should use Meteor-Files to upload your images/photos to AWS or any cloud storage service. Meteor-Files has support for GridFS. You can always grow with it. :grinning:

1 Like