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
{{ message }}
Repository navigation
fs.appendFileSync does not accept a number type in data argument node v14 #33213
error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (7)
Activity
mscdex commentedon May 2, 2020
Seems like the correct behavior to me. Are you saying this worked in a previous version?
devsnek commentedon May 2, 2020
This isn't a bug, the validation was tightened up. See #31030.
ykhedher commentedon May 6, 2020
YES actually I created a NODE COURSE, I was using node v13 but some students using node v14 got this issue so upgraded node and I got the same issue.