but i get an error
Exception while invoking method 'uploadImage' TypeError: jalik_ufs_1.UploadFS .Uploader is not a function
I declared the UploadFS on my declaration file and compiler reads it. but when i run upload function it doesn't work.
also when i console.log(UploadFS) it return an object :
Dears, I'm new to Meteor development here. I'm using it as a backend server to my Ionic2 application so i'm using Angular2+Meteor and i'm trying to upload image to server here the tutorial I follow: https://angular-meteor.com/tutorials/socially/angular2/files-and-uploadfs
but i get an error
Exception while invoking method 'uploadImage' TypeError: jalik_ufs_1.UploadFS .Uploader is not a function
I declared the UploadFS on my declaration file and compiler reads it. but when i run upload function it doesn't work. also when i console.log(UploadFS) it return an object :If you can tell me any solution for this issue. regards.