-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I've recently noticed this strange behavior:
installing the package (npm install -S node-7z-archive) and trying to compress or extract something, I get the error:
Error: spawn <... my path ... bla bla bla ...>\node_modules\node-7z-archive\binaries\win32\7za.exe ENOENT
I've tried to understand why this happens, and knowing that this module is a wrapper of node-7z-forall (deprecated) on which everything worked instead, I tried to look inside node_modules and noticed that the binaries
folder is missing.
Fixed (apparently) by copying the binaries
folder from node_modules/node-7z-forall
to node_modules/node-7z-archive
...then everything works fine.
I've tried the same thing on both WIN 10 and Linux (Amazon AWS LightSail VM, Amazon Linux 2 OS) and getting the same behavior.