Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Executables with target node16-linux-arm64 are broken #1400

Description

@Niek

What version of pkg are you using?

5.4.1

What version of Node.js are you using?

v17.0.1

What operating system are you using?

macOS

What CPU architecture are you using?

arm64

What Node versions, OSs and CPU architectures are you building for?

node16-linux-arm64

Describe the Bug

Files compiled with target node16-linux-arm64 are broken - after starting the executable, it quits silently.

Expected Behavior

It should run normally, like e.g. with the target node14-linux-arm64.

To Reproduce

$ cat test.js 
console.log('hello world')
$ pkg -t node16-linux-arm64,node14-linux-arm64 test.js
$ ./test-node14
hello world
$ ./test-node16

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions