Skip to content

binaries folder not created in node_modules/node-7z-archive #31

@edo-z80-ise

Description

@edo-z80-ise

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions