DEV Community

Discussion on: How to build and deploy a multifunctional Twitter bot

Collapse
 
bendiuguid profile image
Ben Diuguid • Edited

Awesome tutorial!

I was deploying my twitter-bot with now.sh and it appears that you need to run a web server or you can encounter errors while deploying, might want to modify you're deployment to include a simple node http server like the following

const {createServer} = require('http');

const server = createServer(() => {});

server.listen(3000);
Enter fullscreen mode Exit fullscreen mode

For more info check this GitHub Issue

Collapse
 
spences10 profile image
Scott Spence

Thanks Ben, I came across this issue as well the other day. If you want I'd happily accept a PR for this.