This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
not able to set multiple options through --options or through NODE_OPTIONS #1132
Comments
try |
erossignon
added a commit
to node-opcua/pkg
that referenced
this issue
Apr 14, 2021
Unfortunately, running 63f4ce0, this isn't fixed. Building a binary with |
As it turns out, writing Without that, |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using pkg 4.5.1.
stuck on setting multiple options. does not works however tried. Any simple thing I am missing?
pkg app.js --options max-old-space-size=256 tls-min-v1.0
actually there are some options I need to add
using
SET NODE_OPTIONS=--max-old-space-size=256 --tls-min-v1.0
does not works at all with multiple options.
Single quote, double quote... all variations do not work.
The compiled EXE only picks up 1 option through
NODE_OPTIONS
That means 1 option baked in EXE OR 1 through
NODE_OPTIONS
. This is not enough.With baked 1 option in EXE, and setting 1 option in NODE_OPTIONS, EXE crashes
No example, no documentation of multiple options setup to EXE.
If not supported, there is no mention. It is dead end with no road sign.
Since #447 is closed, what was resolution? There is no feedback or fix or resolution on close.
The text was updated successfully, but these errors were encountered: