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.

Hi,

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: dbdocs.io/guide

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

Cheers,
Son Nguyen

1 Like

Thanks @Son_Nguyen. This worked.

1 Like