titanium-icomoonlib icon indicating copy to clipboard operation
titanium-icomoonlib copied to clipboard

Compile fails with [ERROR] : : Cannot read property 'zipDir' of undefined

Open chrishaff opened this issue 9 years ago • 1 comments

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!

chrishaff avatar Oct 07 '15 17:10 chrishaff

You can try this config:

"icomoonlib": {
        "zipDir": ""
    }

falkolab avatar Oct 07 '15 17:10 falkolab