I've followed this tutorial in setting up my angular2/meteor project, and I've done this to use slingshot:
meteor add edgee:slingshot
I can import and use meteor/edgee:slingshot in the server code as:
import { Slingshot } from 'meteor/edgee:slingshot';
But when I try to import slingshot to a component in the client app, the angular app fails to start with this error:
Unexpected value 'undefined' declared by the module 'AppModule' at SyntaxError.BaseError [as constructor]
This is my import in the component.ts file:
import { Slingshot } from 'meteor/edgee:slingshot';
The tutorial mentions using https://atmospherejs.com/edgee/slingshot for direct uploads to a cloud provider.
I've followed this tutorial in setting up my angular2/meteor project, and I've done this to use slingshot:
meteor add edgee:slingshot
I can import and use meteor/edgee:slingshot in the server code as:
import { Slingshot } from 'meteor/edgee:slingshot';
But when I try to import slingshot to a component in the client app, the angular app fails to start with this error: Unexpected value 'undefined' declared by the module 'AppModule' at SyntaxError.BaseError [as constructor]
This is my import in the component.ts file:
import { Slingshot } from 'meteor/edgee:slingshot';
Any help would be greatly appreciated.