I use Meteor 1.6 and AngularJS (Angular 1) and I have problems with the /server/main.js file. I am trying to import as follows:
import { FS } from 'meteor/cfs:filesystem';
So the Meteor is able to resolve this just fine, but the problem is that it is undefined somehow. So when I do this:
Images = new FS.Collection("images", {
I get the error mentioned above. I am trying to find answers on the Internet, and I referenced the Meteor Collection FS Documentation , but could not decide what I was doing wrong with my import. Can someone guide me how to fix this?
source
share