Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exe was not launched when creating using node 20 #129

Open
shash81 opened this issue Dec 18, 2024 · 3 comments
Open

exe was not launched when creating using node 20 #129

shash81 opened this issue Dec 18, 2024 · 3 comments

Comments

@shash81
Copy link

shash81 commented Dec 18, 2024

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

@robertsLando
Copy link
Member

could you tell me what error you get?

@shash81
Copy link
Author

shash81 commented Dec 19, 2024

I am not getting any error but when I am trying to launch the exe from installer then it is not working

@robertsLando
Copy link
Member

Please show me package.json content and also share pkg command output with --debug flag. Then run the result package with DEBUG_PKG=2 env var and share the run output as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants