Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Start api.js #33

Closed
semplon opened this issue Jul 12, 2021 · 1 comment
Closed

Failed to Start api.js #33

semplon opened this issue Jul 12, 2021 · 1 comment

Comments

@semplon
Copy link

semplon commented Jul 12, 2021

Hi, this happen when i try to start api.js

/whatsapp-node-api/node_modules/node-webpmux/webp.js:424
if (!this.data.extended) { this.#convertToExtended(); }
^

SyntaxError: Invalid or unexpected token
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/semplon/waapi/whatsapp-node-api/node_modules/whatsapp-web.js/src/util/Util.js:8:14)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)

@oxtrue-dev
Copy link

npm i whatsapp-web.js@v1.12.5

@pranavms13
Copy link
Owner

Not sure what is happening here. Please clone latest code, reinstall npm modules and try again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@semplon @oxtrue-dev @pranavms13 and others