#how can i use the latest commit from git?

2 messages · Page 1 of 1 (latest)

winter jungle
#

hi all. i want to integrate wwebjs in my app. but how can i use the latest commit from git? what are the steps? npm version is old.

(node:78360) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
App running on *: 9000
/home/upay/git/whatsapp-api-tutorial/node_modules/whatsapp-web.js/src/webCache/LocalWebCache.js:34
        const version = indexHtml.match(/manifest-([\d\\.]+)\.json/)[1];
                                                                    ^

TypeError: Cannot read properties of null (reading '1')
    at LocalWebCache.persist (/home/upay/git/whatsapp-api-tutorial/node_modules/whatsapp-web.js/src/webCache/LocalWebCache.js:34:69)
    at /home/upay/git/whatsapp-api-tutorial/node_modules/whatsapp-web.js/src/Client.js:744:36
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v21.7.3```
remote veldt
#

You can try this old approach #general message or the new one #general message