Ti.UX.Templates icon indicating copy to clipboard operation
Ti.UX.Templates copied to clipboard

downloading forever

Open mdsb100 opened this issue 10 years ago • 5 comments

gittio install ti.ux.scrollableview [INFO] ti.ux.scrollableview searching... [ERROR] ti.ux.scrollableview:commonjs no distributable available [INFO] [email protected]:ios,android downloading...

mdsb100 avatar Jan 03 '15 16:01 mdsb100

/cc @FokkeZB

yuchi avatar Jan 03 '15 21:01 yuchi

@mdsb100 that's probably because the widget is part of a big repository:

https://github.com/jaraen/Ti.UX.Templates/tree/master/app/widgets/ti.ux.scrollableview

This means gitTio has to download the full repository and then extract the widget out of it.

I'm working on adding support for Widget distributions.

FokkeZB avatar Jan 04 '15 19:01 FokkeZB

@mdsb100 also note that most ti.ux widgets have dependency with WidgetTools library at /lib folder, so they will fail if you don't manually copy that file to your project.

jaraen avatar Jan 05 '15 12:01 jaraen

@jaraen thx,I see.If I install scrollableview,does it install pagingcontrol automaticlly? If it does,how about u create a widget to export WidgetTools? At least user does not know detail.

mdsb100 avatar Jan 05 '15 12:01 mdsb100

@mdsb100 pagingcontrol is a separated widget that must be installed separately. Let me suggest to manually download the whole project, copy the widget folders you are insterested in, copy also the WidgetTools file at lib/ folder and copy to your project and add the widgets used to your config.json file in the alloy project.

jaraen avatar Jan 05 '15 19:01 jaraen