<div dir="ltr">Hey,<div><br></div><div>I added the following to platforms.js to my local cordova-lib repository linked to cordova-cli : </div><div><br></div><div><div> 'sugar':{</div><div> parser: './metadata/sugar_parser',</div>
<div> url : '<a href="https://github.com/sugarlabs/sugar-web-template.git" target="_blank">https://github.com/sugarlabs/sugar-web-template.git</a>',</div><div> version: '3.5.0',</div><div>
<br></div><div> }</div>
</div><div><br></div><div><br></div><div>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" :</div>
<div><br></div><div><div><b>Error: incorrect header check</b></div><div><b> at Zlib._binding.onerror (zlib.js:295:17)</b></div></div><div><br></div><div><br></div><div><i>I got a few question if someone can answer :</i></div>
<div><b><br></b></div><div><b>what does this error mean ?</b></div><div><b><br></b></div><div><b>what are the essential things we are supposed to develop to make our platform add command work ?</b></div><div><br></div><div>
(I have found some results for the above question after going through the repositories of several platform but still wished to be sure)</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>
Puneet</div></div>