Bird
0
0

You run:

medium📝 Debug Q6 of 15
dbt - Production Deployment
You run:
dbt run --state ./target --select state:modified

but get an error: "No manifest found in state directory." What is the likely cause?
AThe ./target directory does not contain a previous run manifest
BThe --select flag is misspelled
CYou need to add --full-refresh
DThe dbt version is incompatible
Step-by-Step Solution
Solution:
  1. Step 1: Understand error meaning

    dbt expects a manifest.json in the directory given by --state to compare.
  2. Step 2: Check directory contents

    If no manifest exists in ./target, dbt cannot compare states and errors.
  3. Final Answer:

    The ./target directory does not contain a previous run manifest -> Option A
  4. Quick Check:

    Missing manifest causes error [OK]
Quick Trick: Ensure previous run manifest exists in --state directory [OK]
Common Mistakes:
MISTAKES
  • Assuming --select flag typo causes this error
  • Adding --full-refresh unnecessarily
  • Blaming dbt version without checking manifest

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes