Closed juancarlospaco closed 6 years ago
/home/user/.nimble/pkgs/telebot-0.4.1/telebot/webhook.nim(31, 65) Error: type mismatch: got <nil> but expected 'string' stack trace: (most recent call last) build_nim_telegram_bot.nims(7) lib/system/nimscript.nim(237) exec lib/system/nimscript.nim(237, 7) Error: unhandled exception: FAILED: nim c -d:release -d:ssl --app:console --opt:size --out:build/nim_telegram_bot src/nim_telegram_bot.nim [user@server nim-telegram-bot]$ nim --version Nim Compiler Version 0.18.1 [Linux: amd64] Compiled at 2018-08-20 Copyright (c) 2006-2018 by Andreas Rumpf active boot switches: -d:release [user@server nim-telegram-bot]$ choosenim devel Info: Version #devel already selected
https://github.com/ba0f3/telebot.nim/blob/master/telebot/webhook.nim#L31
Is about the string being nil.
string
nil
fixed in latest release
https://github.com/ba0f3/telebot.nim/blob/master/telebot/webhook.nim#L31
Is about the
string
beingnil
.