TypeError: Cannot read properties of undefined (reading 'data') #25

Closed
opened 2022-06-05 14:15:12 +01:00 by Vylpes · 0 comments
Vylpes commented 2022-06-05 14:15:12 +01:00 (Migrated from github.com)
/home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:41
            const randomSelect = data[random].data;
                                              ^

TypeError: Cannot read properties of undefined (reading 'data')
    at /home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:41:47
    at Generator.next (<anonymous>)
    at fulfilled (/home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
```bash /home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:41 const randomSelect = data[random].data; ^ TypeError: Cannot read properties of undefined (reading 'data') at /home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:41:47 at Generator.next (<anonymous>) at fulfilled (/home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:96:5) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: RabbitLabs/random-bunny#25
No description provided.