<div dir="ltr">Thanks :-)</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 16, 2014 at 2:40 AM, purplecabbage <span dir="ltr"><<a href="mailto:purplecabbage@gmail.com" target="_blank">purplecabbage@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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<br>

<a href="https://github.com/sugarlabs/sugar-web-template/releases/tags/3.5.0" target="_blank">https://github.com/sugarlabs/sugar-web-template/releases/tags/3.5.0</a><br>
<br>
It is probably getting a 404, which zlib is choking on.<br>
<br>
Also, try using a -d flag in any Cordova calls that fail, for verbose output.<br>
<br>
<br>
<br>
Sent from my iPhone<br>
<div class=""><br>
> On Jun 15, 2014, at 4:29 AM, Puneet Kaur <<a href="mailto:puneet.gkaur@gmail.com">puneet.gkaur@gmail.com</a>> wrote:<br>
><br>
> Hey,<br>
><br>
> I added the following to platforms.js to my local cordova-lib repository<br>
> linked to cordova-cli :<br>
><br>
>    'sugar':{<br>
>        parser: './metadata/sugar_parser',<br>
>        url    : '<a href="https://github.com/sugarlabs/sugar-web-template.git" target="_blank">https://github.com/sugarlabs/sugar-web-template.git</a>',<br>
>        version: '3.5.0',<br>
><br>
>    }<br>
><br>
><br>
> The "cordova platform list" command works fine and lists sugar as one of<br>
> the platform that are available but I got the following error while issuing<br>
> the command "cordova platform add sugar" :<br>
><br>
</div>> *Error: incorrect header check*<br>
> *    at Zlib._binding.onerror (zlib.js:295:17)*<br>
><br>
><br>
> *I got a few question if someone can answer :*<br>
><br>
> *what does this error mean ?*<br>
><br>
> *what are the essential things we are supposed to develop to make our<br>
> platform add command work ?*<br>
<div class="HOEnZb"><div class="h5">><br>
> (I have found some results for the above question after going through the<br>
> repositories of several platform but still wished to be sure)<br>
><br>
><br>
><br>
><br>
><br>
> Puneet<br>
</div></div></blockquote></div><br></div>