davidebene

Results comments of davidebene

Yes, removing the line node-red works again (i.e. functionGlobalContext: { } ). However if I remove the hyphens from the object, line 151 becomes for example: telegram:require('node-telegram-bot-api') but I get...

Yes, actually installing it in the same directory now the error disappears. But now if I reference the module in the function (i.e. context.global.telegram) , I get the following error:...

No, sorry, my mistake. I should referencing in this way: var TelegramBot = context.global.telegram; Solved, thanks!