Error while trying to generate docs

Error: Please login first.

The following error is thrown while running
dbdocs build filename.dbml

node package dbdocs has been installed globally prior to running this command.


I’m Son from the dbdocs team. Thank you for reaching out.

It seems that you haven’t logged in to dbdocs. In order to generate a dbdocs view, please login by the command dbdocs login.

A GitHub authentication page will appear in your browser. Please get the token from there.

Copy & paste the token into the terminal then you’ll be all set!

If you haven’t seen it, you can follow this link for a comprehensive instruction:

Let me know if there’s anything I can help you with, Shylajhaa :smile:

Son Nguyen

1 Like

Thanks @Son_Nguyen. This worked.

1 Like

When running $ dbdocs login No github login page appearing into the browser.

dbdocs login

? Please input your authentication token:

How can we get the token?

Updates: It was not working on remote server. However, in my local machine it is showing login screen and I am able generate the token.
Working awesome!