Cannot read property 'length' of undefined
ImGrumpy opened this issue · 3 comments
ImGrumpy commented
After recently updating the API, I started receiving this error... Looks like it happens when the last DJ leaves the waitlist.
C:\bot\node_modules\plugapi\lib\room.js:195
for (let i = 0; i < ids.length; i++) {
^
TypeError: Cannot read property 'length' of undefined
thedark1337 commented
Known bug and fixed by #140. ATM I am trying to figure out the playlist functionality as well as fixing auto reconnect before I release a new version of v5. Sorry you're getting the bug, I had to rush the release for v5 due to the role updates and did not have the proper amount of time to bug test things
ImGrumpy commented
Got it... I read that but didn't realize that doing an npm update wouldn't pick up that fix.
thedark1337 commented
Issue should be resolved with the latest release v5.1.0, please let me know if it is not.