Open thearabbit opened 5 years ago
I work fine on Development mode. And then I tried meteor build .... to Product mode. But get error
Development
meteor build ....
Product mode
SA GridFS - ERROR! { [MongoError: error processing query: ns=dental.cfs_gridfs._tempstore.chunksTree: $and files_id == ObjectId('5bd3dfa0c73ef4e12eeed15f') n $gte 0 Sort: { files_id: 1, n: 1 } Proj: {} No query solutions] name: 'MongoError', ok: 0, errmsg: 'error processing query: ns=dental.cfs_gridfs._tempstore.chunksTree: $and\n files_id == ObjectId(\'5bd3dfa0c73ef4e12eeed15f\')\n n $gte 0\nSort: { files_id: 1, n: 1 }\nProj: {}\n No query solutions', code: 2, codeName: 'BadValue' } /Users/theara/Desktop/bundle/programs/server/npm/node_modules/meteor/cfs_gridfs/node_modules/mongodb/lib/mongodb/connection/base.js:246 throw message;
My config collection
Files = new FS.Collection("files", { stores: [new FS.Store.GridFS("filesStore", {})] });
I work fine on
Development
mode. And then I triedmeteor build ....
toProduct mode
. But get errorMy config collection