Error initializing DirectLine client TypeError: Cannot read property 'add' of undefined
I just change the var directLineSecret = 'MySecretKey';
and install in local repository by following command:
npm install swagger-client
npm install -g open
npm install --save request
npm install --save request-promise
BotBuilder main repository
(https://github.com/Microsoft/BotBuilder-Samples/tree/master/Node/core-DirectLine)
URL of Code Sample
(https://github.com/Microsoft/BotBuilder-Samples/blob/master/Node/core-DirectLineWebSockets/DirectLineClient/app.js#L32-L45)
Problem Description
Error initializing DirectLine client TypeError: Cannot read property 'add' of un
defined
Unhandled rejection TypeError: Cannot read property 'Conversations' of undefined
Probably the same issue #191
@MilkoKunev i run the command that he provided.. but still same error
hi there, sorry for responding on a closed issue, the version of swagger-client that works is "2.1.18".