Briuor / wbm

wbm is an unofficial API to send bulk messages in whatsapp.
MIT License
203 stars 64 forks source link

Error ! #12

Closed ghost closed 3 years ago

ghost commented 3 years ago

hello, when i try to install wbm it shows me this error :

image

can you please tell me why ? thanks.

Briuor commented 3 years ago

@Mr4FX It's a npm error, the error message ask if you name the project the same as the dependency, you should change your project name, because as i can see your project folder name is wbm too, change it to your project name.

ghost commented 3 years ago

i did git clone of your project and git saved it automatically by name "wbm" should i rename the folder ?

Briuor commented 3 years ago

As you cloned you don't need to use npm install(you can use it to install wbm in a project as a npm package). There is a file called test.js inside the project, just change the phone numbers inside this file and run the command:

node test.js
ghost commented 3 years ago

check this issue

image

i using google cloud

Briuor commented 3 years ago

wbm uses puppeteer(a google library for web automation) and puppeteer download the chromium browser to do it, looking at the error i think the chromium browser wasn't downloaded, so to solve it: