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'm getting an error when using Node version v18.14.2, and trying to test a code that uses fs.readFile,fs.readFileSync, fs.existsSync, fs.writeFileSync, fs.writeFile
The error
(node:72471) Warning: File descriptor 5 closed but not opened in unmanaged mode
(Use `node --trace-warnings ...` to show where the warning was created)
stdout | unknown test
[Error: EBADF: bad file descriptor, read] {
errno: -9,
code: 'EBADF',
syscall: 'read'
}
I don't quite understand the error, how do I fix this?
The text was updated successfully, but these errors were encountered:
I'm getting an error when using Node version v18.14.2, and trying to test a code that uses
fs.readFile
,fs.readFileSync
,fs.existsSync
,fs.writeFileSync
,fs.writeFile
The error
I don't quite understand the error, how do I fix this?
The text was updated successfully, but these errors were encountered: