Skip to content

exe was not launched when creating using node 20 #129

Open
@shash81

Description

@shash81

What version of pkg are you using?

6.1.1

What version of Node.js are you using?

20.18.0

What operating system are you using?

window 10

What CPU architecture are you using?

x86_64

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

node20-win-x64

Describe the Bug

when trying to create exe using below command
node ../node_modules/@yao-pkg/pkg/lib-es5/bin.js -t host -c package.json --output ../pkg/node.exe server/start.js,
exe was not launch
but when I am using the [email protected] with node 18 it is working fine

Expected Behavior

for node 20 executable should work

To Reproduce

try to create a exe for single node exe for node 20

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