mercredi 7 septembre 2016

Uncaught ReferenceError: define is not defined when using broccoli-asset-rev

I'm using broccoli-asset-rev node module in order to avoid caching problem in ember application. After installing the module, I'm using it in my ember-cli-build.js as follows

var app = new EmberApp({
    fingerprint:{
        enabled:true
    }
}); 

When I use the above lines of code, I'm getting the error as

Uncaught ReferenceError: define is not defined.

I know this error is something related to the javascript. But if I remove the above code, everything is working properly. I don't know if I'm using the module improperly but when I followed the Github http://ift.tt/1VQxdgP everything I'm doing is same as its mentioned in the link.I've raised an issue in Github also, still no response.

If anyone had faced the similar problem or anyone who can say where I'm doing wrong, request you guys to help me.




Aucun commentaire:

Enregistrer un commentaire