You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @rmcdaniel , I tried your code in Runkit.com and working fine. But when I try to run in my local machine I am facing the below error. Can you please give me suitable solution for this below error.
**D:\app\nodejs\New folder\node-slackbot-master\node_modules\node-slackbot\lib\sla
ckbot.js:93
self.ws = new ws(data.url);
^
TypeError: Cannot read property 'url' of null
at D:\app\nodejs\New folder\node-slackbot-master\node_modules\node-slackbot
lib\slackbot.js:93:28
at ClientRequest. (D:\app\nodejs\New folder\node-slackbot-master
node_modules\node-slackbot\lib\slackbot.js:55:14)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at emitErrorNT (net.js:1277:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)**
The text was updated successfully, but these errors were encountered:
Hi @rmcdaniel , I tried your code in Runkit.com and working fine. But when I try to run in my local machine I am facing the below error. Can you please give me suitable solution for this below error.
**D:\app\nodejs\New folder\node-slackbot-master\node_modules\node-slackbot\lib\sla
ckbot.js:93
self.ws = new ws(data.url);
^
TypeError: Cannot read property 'url' of null
at D:\app\nodejs\New folder\node-slackbot-master\node_modules\node-slackbot
lib\slackbot.js:93:28
at ClientRequest. (D:\app\nodejs\New folder\node-slackbot-master
node_modules\node-slackbot\lib\slackbot.js:55:14)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at emitErrorNT (net.js:1277:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)**
The text was updated successfully, but these errors were encountered: