Skip to content

"dbt docs generate" throws error on macro definition. #264

Closed Answered by tkiehn
ghkgupta asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ghkgupta,

this seems to be a similar issue like in this discussion.

The proposed solution there is to first do a compile against a target where all objects are available, then do a
dbt docs generate --no-compile.

Let me know if this helps!

Kind regards
Theo

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghkgupta
Comment options

Answer selected by ghkgupta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants