Skip to content

BUG: Incorrect binary files installed with Node.js 18.16.0 and later, Node.js 19.8.0 and later, and Node.js 20 #7

Closed
@sounisi5011

Description

@sounisi5011

Note
This issue is simply a bug report for everyone, including go-npm users, and there is currently no way to fix it. Sorry I can't help you.

When @go-task/go-npm is run on the following Node.js, the binary file extracted from the .zip file has incorrect contents:

  • Node.js 18: 18.16.0 or later
  • Node.js 19: 19.8.0 or later
  • Node.js 20: All versions

This bug causes binary installations to fail, primarily on Windows.
The following error occurs when the command is run.

$ task --version
This version of ...\task.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

However, the cause is the decompression process of the .zip file.
The same problem will occur with the CLI that distributes macOS and UNIX binaries as .zip files.

This bug has now been reported: ZJONSSON/node-unzipper#271
But 2 months after the report, it still has not been fixed. We do not know when this will be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions