multer-gridfs-storage
multer-gridfs-storage copied to clipboard
Error: The database connection must be open to store files at GridFSStorage._handleFile
Error: The database connection must be open to store files at GridFSStorage._handleFile
Did you find a fix so far? @fuadsayef
Had the same error and could fix it by forcing mongodb driver version and multer version in package.json : "mongodb": "5.1.0", "mongoose": "^7.0.1", "multer": "1.4.3", "multer-gridfs-storage": "^5.0.2",