#Update whatsapp-web.js^1.18.3 but buttons and list don't work

6 messages · Page 1 of 1 (latest)

bronze token
#

I have cloned @elfin orbit's repository and made some changes such as notifying administrator numbers if the advisor takes time to respond after 3 minutes, when using the fixed-button-list branch the buttons work for me except List. Clone the repository https://github.com/pedroslopez/whatsapp-web.js.git run the example.js file and all the components worked without any inconvenience, has it happened to someone that the Buttons and/or List does not work when upgrading the package

GitHub

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app - GitHub - pedroslopez/whatsapp-web.js: A WhatsApp client library for NodeJS that connects through the WhatsA...

hazy parrot
#

Try to keep your post on english

exotic pebble
#

Deberias modificar el package.json con el branch de list/buttons
"whatsapp-web.js": "github:pedroslopez/whatsapp-web.js#fix-buttons-list"

bronze token
#

Update whatsapp-web.js^1.18.3 but buttons and list don't work

#

I went back to the github repository: pedroslopez/whatsapp-web.js#fix-buttons-list but this time I read something, which I had omitted, and that is that List doesn't work for whatsapp-business

dark path
#

after this commit Merge branch 'main' into fix-buttons-list
and i update to my project, then error like this

/opt/lampp/htdocs/wabot/node_modules/whatsapp-web.js/src/util/Injected.js:95
m.default?.prototype?.proxyName ||
^

SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/opt/lampp/htdocs/wabot/node_modules/whatsapp-web.js/src/Client.js:10:36)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)