titanium-icomoonlib
titanium-icomoonlib copied to clipboard
Compile fails with [ERROR] : : Cannot read property 'zipDir' of undefined
While I've been using Ti for four years I am new to Alloy, so this may be a dumb issue.
When I tried to compile my app after installing icomoonlib I got the error
[ERROR] : : Cannot read property 'zipDir' of undefined
I quickly found the issue to be line 220
zipDir = AlloyCFG.icomoonlib.zipDir;
So I tried adding
"global": { "icomoonlib": {} },
to config.json. Alas that didn't do the trick. What needs to be done to correct this error being thrown?
In the interim I just fixed it by setting line 220 to
zipDir = null;
as my file is in the default location at the root of the project.
Works a treat, thanks!
You can try this config:
"icomoonlib": {
"zipDir": ""
}