SAP Knowledge Base Article - Preview

2607966 - "Download UI5 library" stage of HAT fails with "Error: Corrupted zip : can't find end of central directory jszip"

Symptom

During "Download UI5 library" stage of HAT (Hybrid Application Toolkit) development the below error appears:

Error: Corrupted zip : can't find end of central directory
   at Object.ZipEntries.readEndOfCentral (/Users/****/hat/setup/node_modules/jszip/lib/zipEntries.js:152:23)
   at Object.ZipEntries.load (/Users/****/hat/setup/node_modules/jszip/lib/zipEntries.js:215:14)
   at Object.ZipEntries (/Users/****/hat/setup/node_modules/jszip/lib/zipEntries.js:21:14)
   at Object.module.exports [as load] (/Users/****/hat/setup/node_modules/jszip/lib/load.js:11:18)
   at Object.JSZip (/Users/****/hat/setup/node_modules/jszip/lib/index.js:39:14)
   at getUI5ZipVersion (/Users/****/hat/setup/server/routes/setup.js:38:12)
   at exports.ui5Lib (/Users/****/hat/setup/server/routes/setup.js:67:24)
   at Layer.handle [as handle_request] (/Users/****/hat/setup/node_modules/express/lib/router/layer.js:82:5)
   at next (/Users/****/hat/setup/node_modules/express/lib/router/route.js:110:13)
   at Route.dispatch (/Users/****/hat/setup/node_modules/express/lib/router/route.js:91:3)

2607966.png


Read more...

Environment

SAP Hybrid Application Toolkit (HAT)

Product

SAP Web IDE hybrid app toolkit add-on all versions

Keywords

Corrupted zip : can't find end of central directory, hat/setup/node_modules/jszip/lib/zipEntries.js:152:23, jszip, Download UI5 library, SAP Hybrid Application Toolkit, firewall , KBA , CA-WDE-MOB , Mobility Components and Kapsel Deployment , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.