-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full support for dbt deps on Windows #778
Comments
Windows 10 Pro version 1803 packages.yml:
dbt.log:
|
I spoke with Drew and suggested a workaround being able to override the temp dir. Of course this is no fix or solution but general good idea of having it configurable |
Combining issue #766 dbt deps - symlink fails on windows (symbolic link privilege not held)Via slack:
We should either fix this, or add an option to not create a symlink Via Ben Edwards in Slack:
|
Could just set the TMPDIR env var |
Here are some investigation scenarios that show that if the TMP dir and dbt project dir are on the OS drive the |
fixed in #1110 |
I think this is the reason dbt has trouble installing deps on WSL2... is there a way to skip using the symlinks? when you only have 1 or 2 dbt projects it causes much much more headaches than the few MBs it saves If dbt deps runs on the Linux side for some reason it's unable to access the files that it creates If dbt deps is run in the Windows side then linux can't access the modules unless you copy the files outside the folder then delete the hardlink and reboot WSL then create a normal dbt_modules folder and copy the files back in. So there is a workaround if one is technically minded but for a new user this might be unknown. I feel like more people use WSL than the Windows CLI but I might be mistaken |
OSError: [WinError 17] The system cannot move the file to a different disk drive: 'C:\Users\UserName\AppData\Local\Temp\dbt-downloads\75cce4837e0fd73e2934f79b9a5238a9' -> 'dbt_modules\snowplow'
This can happen on Windows if the temp dir is on a different drive than the dbt project dir
The text was updated successfully, but these errors were encountered: