fuselabs / echobot Goto Github PK
View Code? Open in Web Editor NEWA sample bot for getting started with Bot Framework
License: MIT License
A sample bot for getting started with Bot Framework
License: MIT License
Hi Team,
Can we please rename this repo to something like "Echobot hosted on Azure" or just adding it in the tags or something? I have been looking for a way to push my local bot to azure and just couldn't search out any useful information. The name of the repo makes it hard to find this in relation to that search criteria.
Thank you.
When I clone this repo and try to run locally, I get the following error.
$ node ./server.js
/Users/thfalgou/git/tmp/echobot/node_modules/botbuilder/lib/bots/ChatConnector.js:59
var isEmulator = req.body['channelId'] === 'emulator';
^
TypeError: Cannot read property 'body' of undefined
at ChatConnector.verifyBotFramework (/Users/thfalgou/git/tmp/echobot/node_modules/botbuilder/lib/bots/ChatConnector.js:59:29)
at Object.<anonymous> (/Users/thfalgou/git/tmp/echobot/server.js:24:40)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:418:7)
at startup (bootstrap_node.js:139:9)
Digging into the code, I believe that this is because server.js is not passing in expected req, res variables:
See:
https://github.com/fuselabs/echobot/blob/master/server.js#L24
https://github.com/Microsoft/BotBuilder/blob/master/Node/core/lib/bots/ChatConnector.js#L59
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.