-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm Error: Invalid or unsupported zip format. No END header found (Arch Linux) #55
Comments
Having the same issue here.
My system: This appears to be an issue with ResourceHack, since it fails to install on its own when trying to install it manually through NPM. |
just tested- as of right now, |
(On linux mint 21.3) I believe it's an issue with the 1.0.2 version of changeexe, changing the ./icarus/package.json version in devDependencies for changeexe from 1.0.2 to 1.0.3 let me perform an error free run of npm install. I don't believe the development build is working though, as say it's serving on 3300, and that it's loaded log files etc, but then when trying to access localhost:3300 in Firefox, it'll show this in the firefox window: Then simultaneously showing the following in the terminal window:
ICARUS Terminal Service 0.22.0 |
I dug through the woefully out of date http-proxy dependency, and managed to eliminate the util._extend calls, but then that moved to react issues aswell. I did read that chrome is required, I tested on Chromium aswell, no luck. Then I figured that potentially due to the age of the dependencies, that we could be using too new a version of node. Unfortunately the package.json doesn't specify a version, so I took a try with v16, then v14, both throwing errors (the same in chromium and firefox). So either this is borked completely, and requires someone with js/node experience, or the linux compatibility isn't correct anymore. |
Thanks for reporting this, and for folks who dug into it and tried to help out! Given the package versions are fixed and builds are automated, I suspect all the errors are caused by a Node.js version mismatch. Node.js ICARUS is written to target an older version of Node.js as a concession to primarily targeting Windows (the only platform the game is officially supported on now) - annoyingly there are some tricky compatibility issues with different versions of Node.js for Windows and various modules (I think file watching stopped working reliably in some newer versions, for example). Several development dependencies like In addition to the docs, I'll see if I can do anything to make this easier. |
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).
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
The text was updated successfully, but these errors were encountered: