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
The _write() function fails when the user is exporting a GPIO port:
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (15)
Adding .toString() to the fs.writeFile() 'str' option seams to do the job just fine.
The text was updated successfully, but these errors were encountered:
The _write() function fails when the user is exporting a GPIO port:
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (15)
Adding
.toString()
to the fs.writeFile() 'str' option seams to do the job just fine.The text was updated successfully, but these errors were encountered: