# Node-red-contrib-whatsappbot

**URL:** <https://discourse.nodered.org/t/node-red-contrib-whatsappbot/31474>\
**Category:** General\
**Created:** [12 August 2020 12:09 UTC](https://discourse.nodered.org/t/node-red-contrib-whatsappbot/31474 "2020-08-12T12:09:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didi](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@Didi](https://discourse.nodered.org/u/Didi)\
**Post date:** [12 August 2020 12:09 UTC](https://discourse.nodered.org/t/node-red-contrib-whatsappbot/31474/1 "2020-08-12T12:09:53Z")

</div>

\*Hello!! \*  
_Can someone help me? I have problems installing the "node-red-contrib-whatsappbot"_

**2020-08-12T10:05:18.862Z Install : node-red-contrib-whatsappbot 0.1.1**

**2020-08-12T10:05:17.837Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-whatsappbot@0.1.1**  
**2020-08-12T10:05:29.942Z rc=null**

Then install

**npm install node-red-contrib-whatsappbot --save**

but it marks me an error  
npm install node-red-contrib-whatsappbot --save

> sharp@0.25.4 install C:\WINDOWS\system32\node\_modules\sharp  
> (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)

info sharp Using cached C:\Users\abril\AppData\Roaming\npm-cache\_libvips\libvips-8.9.1-win32-x64.tar.gz  
info sharp Creating C:\WINDOWS\system32\node\_modules\sharp\build\Release  
info sharp Copying DLLs from C:\WINDOWS\system32\node\_modules\sharp\vendor\lib to C:\WINDOWS\system32\node\_modules\sharp\build\Release

> puppeteer@5.2.1 install C:\WINDOWS\system32\node\_modules@open-wa\wa-automate\node\_modules\puppeteer  
> node install.js

Downloading Chromium r782078 - 149.7 Mb [====================] 100% 0.0s  
Chromium (782078) downloaded to C:\WINDOWS\system32\node\_modules@open-wa\wa-automate\node\_modules\puppeteer.local-chromium\win64-782078

> puppeteer@3.3.0 install C:\WINDOWS\system32\node\_modules\puppeteer  
> node install.js

Downloading Chromium r756035 - 144.6 Mb [====================] 100% 0.0s  
Chromium (756035) downloaded to C:\WINDOWS\system32\node\_modules\puppeteer.local-chromium\win64-756035  
npm WARN saveError ENOENT: no such file or directory, open 'C:\WINDOWS\system32\package.json'  
npm notice created a lockfile as package-lock.json. You should commit this file.  
npm WARN enoent ENOENT: no such file or directory, open 'C:\WINDOWS\system32\package.json'  
npm WARN system32 No description  
npm WARN system32 No repository field.  
npm WARN system32 No README data  
npm WARN system32 No license field.

some solution please.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [12 August 2020 12:18 UTC](https://discourse.nodered.org/t/node-red-contrib-whatsappbot/31474/2 "2020-08-12T12:18:52Z")

</div>

Looks like you started from a command prompt with the path set to `c:\windows\system32` - you should be in the `.node-red` folder BEFORE running `npm`.

Additionally, looks like that node uses a bunch of tricks (like installing chormium and puppeteer - probably to remote control the whatsappweb page) - good luck with that hackfest.

Apart from instructing you to try again in the correct .node-red folder, I have not used it but I would personally recommend using telegram (works very well)

---

<div class="post-metadata">

**Author:** ![Didi](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@Didi](https://discourse.nodered.org/u/Didi)\
**Post date:** [13 August 2020 09:03 UTC](https://discourse.nodered.org/t/node-red-contrib-whatsappbot/31474/3 "2020-08-13T09:03:16Z")

</div>

thanks, i can now install it in the correct npm folder, well it's a project I want to learn about.  
Previously I made one in telegram and if it is simpler.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [14 August 2020 19:54 UTC](https://discourse.nodered.org/t/node-red-contrib-whatsappbot/31474/4 "2020-08-14T19:54:40Z")

</div>

> [@Didi](#):
>
> if it is simpler

It most certainly isn't simpler. Telegram has the easiest bot interface I know of for any of the comms tools. With the help of the telegram node, it is relatively trivial to set up a bot.

AFAIK, whatsapp doesn't have any real bot API. Facebook has one but I've never managed to get it to work. Microsoft Teams has a good one - but only if you are steeped in Microsoft development - I got a basic one working with Skype for Business once but it was HARD work. Of course, much of this is because I lack the experience and certainly lack the time to learn. Or the inclination to be honest. Node-RED and Telegram make a great partnership.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 October 2020 19:55 UTC](https://discourse.nodered.org/t/node-red-contrib-whatsappbot/31474/5 "2020-10-13T19:55:01Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
