Closed ghost closed 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.
i did git clone of your project and git saved it automatically by name "wbm" should i rename the folder ?
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
check this issue
i using google cloud
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:
// ...
const args = {
headless: !showBrowser,
userDataDir: tmpPath,
executablePath: '/path/to/Chrome', // PATH TO CHROME DOWNLOADED
args: ["--no-sandbox",
// "--blink-settings=imagesEnabled=false"]
]
}
I will create an easy way to configure chrome in a next release.
hello, when i try to install wbm it shows me this error :
can you please tell me why ? thanks.