icarus
icarus copied to clipboard
npm Error: Invalid or unsupported zip format. No END header found (Arch Linux)
Following the Linux build instructions, I get an error when trying build the latest version. I have 0.18.1 installed previously which built fine when I was last playing (a year ago).
[▓▓▓▓▓▓▓@visas-marr Icarus]$ npm install
npm warn deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm error code 1
npm error path /home/▓▓▓▓▓▓▓/.../Icarus/node_modules/changeexe
npm error command failed
npm error command sh -c node dlResHack
npm error The license of ResourceHacker.exe forbids distribution with this NPM package, so it will be downloaded at this time.
npm error Downloading resource_hacker.zip ...
npm error Download Completed
npm error Extracting resource_hacker.zip ...
npm error /home/▓▓▓▓▓▓▓/.../Icarus/node_modules/adm-zip/zipFile.js:101
npm error if (!~endOffset) throw new Error(Utils.Errors.INVALID_FORMAT);
npm error ^
npm error
npm error Error: Invalid or unsupported zip format. No END header found
npm error at readMainHeader (/home/▓▓▓▓▓▓▓/.../Icarus/node_modules/adm-zip/zipFile.js:101:32)
npm error at new module.exports (/home/▓▓▓▓▓▓▓/.../Icarus/node_modules/adm-zip/zipFile.js:19:9)
npm error at new module.exports (/home/▓▓▓▓▓▓▓/.../Icarus/node_modules/adm-zip/adm-zip.js:62:18)
npm error at WriteStream.<anonymous> (/home/▓▓▓▓▓▓▓/.../Icarus/node_modules/changeexe/dlResHack.js:19:21)
npm error at WriteStream.emit (node:events:532:35)
npm error at finish (node:internal/streams/writable:946:10)
npm error at node:internal/streams/writable:927:13
npm error at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm error
npm error Node.js v22.2.0
npm error A complete log of this run can be found in: /home/▓▓▓▓▓▓▓/.npm/_logs/2024-05-23T02_10_36_845Z-debug-0.log
My system: OS: Arch Linux x86_64 Kernel: Linux 6.9.1-arch1-1 Shell: bash 5.2.26 npm: 10.8.0-1 node.js: 22.2.0-1