Open kamtschatka opened 1 year ago
The project name was changed to TheTechsTech
, package.json and all links needs updating, the files are actually at https://github.com/TheTechsTech/p7zip/releases. I forgot about updating project hard coded links, you should do a PR, all techno-express
to TheTechsTech
.
so line 62
url: 'https://github.com/techno-express/p7zip/releases/download/17.02/',
should be
url: 'https://github.com/TheTechsTech/p7zip/releases/download/17.02/',
I haven't really looked into current 7zip version features, but on quick look over missing sfx modules.
That's main reason I needed a separate forked project, that got everything at install time.
I see problem, the installer script is downloading from two locations and lzma1701.7z
is missing from 7-zip.org, see if lzma1604.7z
or lzma1900.7z
functions the same. The whole project might need updating to different versions.
When trying to install node-7z-archive, it is trying to download the file lzma1701.7z from 7-zip (https://www.7-zip.org/a/lzma1701.7z to be precise) See https://github.com/TheTechsTech/node-7z-archive/blob/master/installer.mjs#L64
The file is not available and shows just a 404 page and therefore the installation for linux is not successful and 7zip can not be used.
I was trying with version 1.0.7 at first and just self hosted the files that were missing by downloading them from sourceforge and after providing the files, everything worked fine again. To make sure it is not already fixed in newer versions, I updated to 1.1.4 and tried modifying the installer.mjs file to point to my self hosted files again. The installation itself works fine, but when using 7zip in the code i get the message
Encountered an error: Error: Unknown error -214702489
The files that were missing in my various scenarios(1.0.7 or 1.1.4) were those (not all of them are required for linux only):
There were available at https://sourceforge.net/projects/sevenzip/files/7-Zip/17.01/ and https://sourceforge.net/projects/sevenzip/files/7-Zip/16.04/