How to use offline image atmosphere package (chrisben:imgcache) for meteor (1.6)

65 Views Asked by At

I am trying to use offline image cache package (Visit https://atmospherejs.com/chrisben/imgcache) in my angular-meteor app. I have meteor 1.6 version in my app. When I have used this package I am getting below error.

Error: [$injector:modulerr] Failed to instantiate module imgCache due to:

Error: [$injector:nomod] Module 'imgCache' is not available! You either misspelled the module name or forgot to load it.

I think this error comes because this package support CommonJS modules system and meteor 1.6 uses ES6 modules system. If I am correct then please help me how I can use this package in my app OR suggest me some other package for offline caching of images in my app.

0

There are 0 best solutions below