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
In the bot options if you set compression: true and are using the pako library, you will get an undefined error.
TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
zlib-sync seems to work fine.
Found on Eris 0.14.0, NodeJs v14.15.1 on Windows 10.
The text was updated successfully, but these errors were encountered:
Interesting, looks like pako@2 dropped Z_SYNC_FLUSH in nodeca/pako#196. pako@1 should work for now, try that version if you're still interested. The author claims this parameter is not necessary during inflation, so this needs more investigation
In the bot options if you set
compression: true
and are using thepako
library, you will get an undefined error.zlib-sync
seems to work fine.Found on Eris 0.14.0, NodeJs v14.15.1 on Windows 10.
The text was updated successfully, but these errors were encountered: