ryanvolum / offline-directline

Unofficial package to emulate the bot framework connector locally.
https://www.npmjs.com/package/offline-directline
78 stars 44 forks source link

Parameter "url" must be a string, not undefined #33

Closed shafi-mohammed closed 5 years ago

shafi-mohammed commented 6 years ago

Hi @ryanvolum,

I'm getting this error when i run app.js: Created conversation with conversationId: a7d5c610-141f-43ea-b2c9-3b3edab4da8a (node:23484) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 34): TypeError: Parameter "url" must be a string, not undefined

Do you have any idea about this issue?

Appreciate your help.

Thanks, Shaf

sschutten commented 5 years ago

I assume you're setting up offline-directline in code. Did you follow the steps outlined in the readme? Make sure that the second URL in this line points to your bot: directline.initializeRoutes(app, "http://127.0.0.1:3000", "http://127.0.0.1:3978/api/messages");

ryanvolum commented 5 years ago

@shafi-mohammed I'm not able to repro - did you follow @sschutten's directions? Please reopen if you keep seeing issues...