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
I recently started getting test failures on a Github Actions job using Windows and JSOO-generated code. I don't have a Windows machine directly available, so I apologize for being unable to provide a minimal reproducible example.
node:fs:1644
handleErrorFromBinding(ctx);
^
Error: EINVAL: invalid argument, fstat
at Object.fstatSync (node:fs:1644:3)
at new AB (D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:661:12)
at XO (D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:852:29)
at y9 (D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:880:21)
at D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:881:14
at D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:881:202
at Object.<anonymous> (D:\a\acutis\acutis\_build\.sandbox\e437599ddd7afc5fce4ce1a65f7b45e0\default\main.cjs:4927:119)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32) {
fd: 0,
errno: -4071,
syscall: 'fstat',
code: 'EINVAL'
}
Node.js v18.20.6
The line number in the error message seems to point to this code from the JSOO runtime source:
Thanks a lot for your bug report.
This is certainly due to commit 1d7f690. It seems stdout and/or stderr are not available or are misdetected by node/libuv. I think we should just catch the exception and ignore it.
I recently started getting test failures on a Github Actions job using Windows and JSOO-generated code. I don't have a Windows machine directly available, so I apologize for being unable to provide a minimal reproducible example.
The exact error is this (link):
The line number in the error message seems to point to this code from the JSOO runtime source:
js_of_ocaml/runtime/js/fs_node.js
Line 332 in 937e849
Some notes:
The text was updated successfully, but these errors were encountered: