Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got error on first run #1

Open
WillyRL opened this issue Jan 20, 2020 · 1 comment
Open

Got error on first run #1

WillyRL opened this issue Jan 20, 2020 · 1 comment

Comments

@WillyRL
Copy link

WillyRL commented Jan 20, 2020

Hi There,

Really appreciate for your works with this slack bot, but i found problem when running it

ubuntu@ip:~/stf-bot$ node main.js
url.js:555
    throw new TypeError('Parameter "urlObj" must be an object, not ' +
    ^

TypeError: Parameter "urlObj" must be an object, not undefined
    at urlFormat (url.js:555:11)
    at new Request (/home/ubuntu/stf-bot/node_modules/superagent/lib/node/index.js:128:37)
    at request (/home/ubuntu/stf-bot/node_modules/superagent/lib/request.js:29:10)
    at Function.request.(anonymous function) [as get] (/home/ubuntu/stf-bot/node_modules/superagent/lib/node/index.js:1030:15)
    at SuperagentHttpClient.execute (/home/ubuntu/stf-bot/node_modules/swagger-client/lib/http.js:204:26)
    at module.exports.SwaggerHttp.execute (/home/ubuntu/stf-bot/node_modules/swagger-client/lib/http.js:83:10)
    at module.exports.SwaggerClient.build (/home/ubuntu/stf-bot/node_modules/swagger-client/lib/client.js:226:23)
    at module.exports.SwaggerClient.initialize (/home/ubuntu/stf-bot/node_modules/swagger-client/lib/client.js:151:17)
    at new module.exports (/home/ubuntu/stf-bot/node_modules/swagger-client/lib/client.js:104:17)
    at Object.<anonymous> (/home/ubuntu/stf-bot/main.js:19:14)
@WillyRL
Copy link
Author

WillyRL commented Feb 6, 2020

Update:

after changing the botkit version, node version, i can run the bot, but i got something like this

image

Nothing happend after add the bot to the channel, and uploading APK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant