Botkit: ReferenceError: botkit is not defined

Created on 24 Oct 2018  路  3Comments  路  Source: howdyai/botkit

Initializing Botkit v0.6.17
info: ** Using simple storage. Saving data to /Users/waimun/Documents/test/botkit/.data/db/
/Users/waimun/Documents/test/botkit/node_modules/botkit/lib/Web.js:68
botkit.wss = wss;
^

ReferenceError: botkit is not defined
at Object.WebBot.controller.openSocketServer (/Users/waimun/Documents/test/botkit/node_modules/botkit/lib/Web.js:68:9)
at Object. (/Users/waimun/Documents/test/botkit/bot.js:61:12)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3

bug help wanted

Most helpful comment

Oops! I am publishing another version that will fix this. Thank you for the report.

All 3 comments

@benbrown this line was added in the a9dd150e0c4e9106d802849c064fd83ebd477c2c commit. Is it required?

botkit.wss = wss;

Oops! I am publishing another version that will fix this. Thank you for the report.

Fixed in 0.6.18, now published to npm.

Thanks again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fieldcorbett picture fieldcorbett  路  4Comments

GautierT picture GautierT  路  3Comments

abinashmohanty picture abinashmohanty  路  4Comments

TheJimFactor picture TheJimFactor  路  4Comments

abinashmohanty picture abinashmohanty  路  4Comments