claudiajs / claudia-bot-builder

Create chat bots for Facebook Messenger, Slack, Amazon Alexa, Skype, Telegram, Viber, Line, GroupMe, Kik and Twilio and deploy to AWS Lambda in minutes
https://claudiajs.com/claudia-bot-builder.html
MIT License
1.84k stars 252 forks source link

Hello World Chat Bot Example On Site Not Working #82

Closed tetreault closed 7 years ago

tetreault commented 7 years ago

Hello, I went through these steps here (Hello World Chat Bot) after going through installing and configuring claudia.

The example simply skips to the deployment step running claudia create --region us-east-1 --api-module bot. All that happens is the following error: Lambda handler is missing. please specify with --handler.

This is literally following the steps in your Hello World, so I'm rather perplexed. Is your documentation wrong? Is the example incomplete? Any assistance is appreciated, I really want to incorporate ClaudiaJS in a few client projects but this feels like a concerning start.

Node: v4.7.2 NPM: v4.1.2 Claudia: v2.6.0

gojko commented 7 years ago

Just tried reproducing this by copying/pasting code from the example page, and it seems to work, so the issue is somewhere else. Can you make sure there's no space between -- and api-module, and that you've typed that correctly? if that still fails, can you please paste your package.json and bot.js here

stojanovic commented 7 years ago

And make sure your file is called bot.js, if the name is different, ie. chatbot.js then it should be --api-module chatbot

tetreault commented 7 years ago

Very prompt responses, thank you both @gojko @stojanovic ! I facepalmed hard when noticing my error you're right.