-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Error with NODE_OPTIONS #59
Comments
cc @sheremet-va is it vitest related? |
Yes, looks like it’s Vitest related. The version is too old though. |
This also occurs with latest vitest (0.32.0) which uses latest tinypool (0.5.0):
|
I will use |
thats a possible workaround, yes. But the issue still remains, could you please reopen the issue? https://nodejs.org/api/cli.html#node_optionsoptions clearly says that |
The thing is tinypool does not control this, but vitest does at its side, but let's have this issue open so @sheremet-va can watch it. |
Slightly related to vitest-dev/vitest#2702 where similar Node exec argv filtering is done to ensure workers are not passed incompatible options. |
Fixed by vitest-dev/vitest#2702. Vitest no longer passes all arguments to Tinypool. There's nowadays another way to pass explicit exec argv to workers: vitest-dev/vitest#4383. |
I set the environment variable
NODE_OPTIONS: -use-openssl-ca
You should not put the environment variable NODE_OPTIONS to the child process. It is automatically taken from the parent.
https://github.com/nodejs/node/blob/v16.20.0/src/node_worker.cc#L513-L514
The text was updated successfully, but these errors were encountered: