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
...\temporary\lib\file.js:100 Uncaught Error: null
at ...\temporary\lib\file.js:100
at FSReqCallback.oncomplete (fs.js:150)
Looking at the node.js filesystem docs, the callback's argument needs to be checked whether it's an error. However, the code for this library always throws the object.
My code works without the error if I pass a callback of (in Coffeescript) (err) -> if err then throw err, so I'd recommend changing to something similar.
The text was updated successfully, but these errors were encountered:
I'm getting errors when my code calls unlink.
Looking at the node.js filesystem docs, the callback's argument needs to be checked whether it's an error. However, the code for this library always throws the object.
My code works without the error if I pass a callback of (in Coffeescript)
(err) -> if err then throw err
, so I'd recommend changing to something similar.The text was updated successfully, but these errors were encountered: