You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I require fs-extra package in my entry script, then using fork or spawn on another script from the package, it errors out with EACCES (it appears as the binary becomes nonexecutable). However, if you re-run the binary, sometimes it will start working on second attempt.
Anyone else experiencing the same problem?
The problem seems to appear when the script that spawns child process requires fs-extra, and the "child process" script does it too. If either of them do not require fs-extra, then everytihng works fine. I tested with node10 and node12.
Edit: "request" is also one of the packages that produces the same problem.
If I require fs-extra package in my entry script, then using fork or spawn on another script from the package, it errors out with EACCES (it appears as the binary becomes nonexecutable). However, if you re-run the binary, sometimes it will start working on second attempt.
Anyone else experiencing the same problem?
The problem seems to appear when the script that spawns child process requires fs-extra, and the "child process" script does it too. If either of them do not require fs-extra, then everytihng works fine. I tested with node10 and node12.
Edit: "request" is also one of the packages that produces the same problem.