- Notifications
You must be signed in to change notification settings - Fork 75
Closed
Labels
UpstreamThe issue occurs in a dependency and is not directly fixableThe issue occurs in a dependency and is not directly fixablebugSomething isn't workingSomething isn't working
Description
Describe the bug
The pkg node module has an issue where if NODE_OPTIONS is set to --max-old-space-size=8192 (it doesn't need to be 8192, the issues mentioned below use 4096) the application will exit with status 4. It's literally this line in the pkg code:
https://github.com/vercel/pkg/blob/5.3.3/prelude/bootstrap.js#L1789
No error messages are printed. The app built with pkg just exits. This issue: vercel/pkg#1194 and this one: vercel/pkg#1217 mention the problem with no resolution.
To Reproduce
In a shell:
export NODE_OPTIONS=--max-old-space-size=8192 ./codecov echo $? The output from the echo will be 4.
Expected behavior
Program just runs
Screenshots
N/A
Additional context
The circleci orb should unset NODE_OPTIONS before invoking codecov
adolfov, bryphe-coder, daniellanner and sebastianrath
Metadata
Metadata
Assignees
Labels
UpstreamThe issue occurs in a dependency and is not directly fixableThe issue occurs in a dependency and is not directly fixablebugSomething isn't workingSomething isn't working