robvanderleek / mudslide

Send WhatsApp messages from the command-line
ISC License
120 stars 12 forks source link

error after update #67

Closed JR9842210171 closed 6 months ago

JR9842210171 commented 6 months ago

Hi,

it shows error after update

C:\Users\Lenovo\AppData\Local\npm-cache_npx\ce95761724e6020f\node_modules\mudslide\dist\commands.js:27 const buttons = options.button.map((b, idx) => ({ ^

TypeError: Cannot read properties of undefined (reading 'map') at C:\Users\Lenovo\AppData\Local\npm-cache_npx\ce95761724e6020f\node_modules\mudslide\dist\commands.js:27:48 at Generator.next () at fulfilled (C:\Users\Lenovo\AppData\Local\npm-cache_npx\ce95761724e6020f\node_modules\mudslide\dist\commands.js:5:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.16.0

create-issue-branch[bot] commented 6 months ago

Branch issue-67-error_after_update created!

robvanderleek commented 6 months ago

It's fixed in 0.22.2.

Thanks for reporting @JR9842210171 !