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

Node CLI options are not disabled for node 20.11 #1082

Open
tbsmark86 opened this issue Feb 14, 2024 · 1 comment
Open

Node CLI options are not disabled for node 20.11 #1082

tbsmark86 opened this issue Feb 14, 2024 · 1 comment
Labels

Comments

@tbsmark86
Copy link

What happened:
Building a binary will cause a "bad option" error if you try to add options for the program.

As "--v8-options" result in the typical help message it seems like disable-node-cli.ts is not working anymore.

What you expected to happen:
Be able to use the CLI options of the bundled tool.

Anything else we need to know?:
Temporary workaround is to always pass "--" as the first option.

@mrfigg
Copy link

mrfigg commented Mar 26, 2024

Just bumping because I'm having the same issue in nexe@4.0.0-rc.4. I hope #1086 gets merged and 4.0.0(-rc.5) gets released including it soon.

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

No branches or pull requests

2 participants