Meteor + React + CollectionFS + GridFs + DropZone: importing server side

283 Views Asked by At

All seems go well until i include the Images Collections in server side. After that meteor doesn't start.

commons.js

export const Images = new FS.Collection("images", {
  stores: [new FS.Store.GridFS("images", {path: "~/Descargas"})]
});

server.js

import '../imports/api/commons.js';
0

There are 0 best solutions below