[Sugar-devel] making "codova platform add" command work for sugar

Puneet Kaur puneet.gkaur at gmail.com
Sun Jun 15 17:26:34 EDT 2014


Thanks :-)


On Mon, Jun 16, 2014 at 2:40 AM, purplecabbage <purplecabbage at gmail.com>
wrote:

> You specify a version of 3.5.0 so the downloader component is expecting to
> get a zipped version of the repo at something like
> https://github.com/sugarlabs/sugar-web-template/releases/tags/3.5.0
>
> It is probably getting a 404, which zlib is choking on.
>
> Also, try using a -d flag in any Cordova calls that fail, for verbose
> output.
>
>
>
> Sent from my iPhone
>
> > On Jun 15, 2014, at 4:29 AM, Puneet Kaur <puneet.gkaur at gmail.com> wrote:
> >
> > Hey,
> >
> > I added the following to platforms.js to my local cordova-lib repository
> > linked to cordova-cli :
> >
> >    'sugar':{
> >        parser: './metadata/sugar_parser',
> >        url    : 'https://github.com/sugarlabs/sugar-web-template.git',
> >        version: '3.5.0',
> >
> >    }
> >
> >
> > The "cordova platform list" command works fine and lists sugar as one of
> > the platform that are available but I got the following error while
> issuing
> > the command "cordova platform add sugar" :
> >
> > *Error: incorrect header check*
> > *    at Zlib._binding.onerror (zlib.js:295:17)*
> >
> >
> > *I got a few question if someone can answer :*
> >
> > *what does this error mean ?*
> >
> > *what are the essential things we are supposed to develop to make our
> > platform add command work ?*
> >
> > (I have found some results for the above question after going through the
> > repositories of several platform but still wished to be sure)
> >
> >
> >
> >
> >
> > Puneet
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140616/b57c10cd/attachment.html>


More information about the Sugar-devel mailing list