DEV Community 👩‍💻👨‍💻

Discussion on: Creating a Whatsapp chatbot using Node JS, Dialogflow and Twilio

teenahg profile image
Tinashe Gondwa

yes, I renamed it. I'm running Windows 10

Thread Thread
newtonmunene_yg profile image
Newton Munene Author

Please tell me if it runs with npm run dev:watch or npm run dev

Thread Thread
newtonmunene_yg profile image
Newton Munene Author

The issue might be that rm isn't supported by Windows OS

Thread Thread
teenahg profile image
Tinashe Gondwa

Thanks mate. I was able to debug it and now it's running. Several factors were taking play, one of which is the issue of platform compatibility. Thanks so much for the assistance

Thread Thread
chriskahiga profile image
chriskahiga

Hi Tinashe, how did you solve your issue, I'm also getting the same 502 Bad Gateway error

Thread Thread
teenahg profile image
Tinashe Gondwa

Hi Chris. First, check if you have all of the required node modules installed. The second check is this: if you're testing your project in a local environment, you must run npm run dev first, then once the server is running, you also start any other service or app that wants to use your project.