Bird
0
0

You added a new package to packages.yml but after running dbt deps, the package is not installed. What is the most likely reason?

medium📝 Debug Q14 of 15
dbt - Packages and Reusability
You added a new package to packages.yml but after running dbt deps, the package is not installed. What is the most likely reason?
AThe package version is too new and unsupported
BYou ran <code>dbt run</code> instead of <code>dbt deps</code>
CYou forgot to save the <code>packages.yml</code> file before running the command
DYou need to restart your computer
Step-by-Step Solution
Solution:
  1. Step 1: Check common user errors and evaluate other options

    If the packages.yml file was not saved, dbt deps reads the old file without the new package. Running dbt run does not install packages, but the question states dbt deps was run. Version issues usually cause errors, not silent skips. Restarting computer is unnecessary.
  2. Final Answer:

    You forgot to save the packages.yml file before running the command -> Option C
  3. Quick Check:

    Unsaved file = no package install [OK]
Quick Trick: Always save packages.yml before running dbt deps [OK]
Common Mistakes:
MISTAKES
  • Assuming dbt run installs packages
  • Ignoring file save before command
  • Thinking restart fixes package install

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes