Coder Social home page Coder Social logo

echobot's People

Contributors

awaemmanuel avatar danmarshall avatar fuselabs avatar lastcoolnameleft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

echobot's Issues

Rename this repo for clarity

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.

Error when starting bot locally.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.