iCloud-API icon indicating copy to clipboard operation
iCloud-API copied to clipboard

Incompatibility with Express ?

Open nwaelti opened this issue 5 years ago • 1 comments

Hi, I'm trying to integrate your lib with an existing application (Express (Loopback)). The rest of the application crashes with random errors like 'cannot read property 'modelName' of undefined. Do you know what it could be ? Currently I've only:

var iCloud = require("apple-icloud");

Thanks, Nick

nwaelti avatar Mar 12 '19 14:03 nwaelti

Okay, got it... Loopback does not like your fillDefaults Object.Prototype function(). I've moved it inside iCloud class and it works.

nwaelti avatar Mar 12 '19 14:03 nwaelti