The problem I’m having
I am getting error when initializing a brand new project using dbt init <project_name>
What I’ve already tried
Some example code or error messages
19:30:41 Traceback (most recent call last):
File "/Users/mehrots/Documents/utilities/adhocs/venvdbt/lib/python3.11/site-packages/dbt/cli/requires.py", line 138, in wrapper
result, success = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/mehrots/Documents/utilities/adhocs/venvdbt/lib/python3.11/site-packages/dbt/cli/requires.py", line 101, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/mehrots/Documents/utilities/adhocs/venvdbt/lib/python3.11/site-packages/dbt/cli/main.py", line 470, in init
results = task.run()
^^^^^^^^^^
File "/Users/mehrots/Documents/utilities/adhocs/venvdbt/lib/python3.11/site-packages/dbt/task/init.py", line 320, in run
profile_name = self.get_profile_name_from_current_project()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mehrots/Documents/utilities/adhocs/venvdbt/lib/python3.11/site-packages/dbt/task/init.py", line 141, in get_profile_name_from_current_project
return dbt_project["profile"]
~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable