Renemari Padillo you should update this article regarding the issue:
throw new Error(‘Invalid transport, must be an object with a log method.’);
Turns out this tutorial isn’t compatible with v3 of Winston: https://github.com/logzio/winston-logzio/issues/12. Anyone struggling with the error above can go to their package.json file and change the version of “winston” to “2.4.4” (NOTE: Make sure there is no “^” in the version number!). After that, delete the node_modules folder from your bot directory, and run:
in the terminal from the same directory. Then you’ll be able to run:
from your bot directory and test it out!