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
When trying to use this fs.write on line 33 of index.js was crashing because the callback "was not a function".
fs.js:128
throw new ERR_INVALID_CALLBACK();
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:128:9)
at Object.write (fs.js:540:14)
at .../node_modules/msi-packager/index.js:33:10
I added a dummy function (()=>{}) and it works.
fs.write(info.fd, xml, ()=>{})
The text was updated successfully, but these errors were encountered:
When trying to use this
fs.write
on line 33 ofindex.js
was crashing because the callback "was not a function".I added a dummy function (
()=>{}
) and it works.The text was updated successfully, but these errors were encountered: