Open Agent009 opened 1 year ago
Thank you for the report, the team is looking into it. (Link for myself for later)
From internal comms:
it is a runtime issue. Looks like tempfile::tempfile() is giving an already existing file to dfx on WSL
Will update if anything else comes from it
Thanks. It's probably an issue with WSL2 vs WSL. I was running the Ubuntu VM on WSL, but I've recently upgraded it to WSL2, so will try running another test if and when I get some free time to experiment with this again.
Hi team,
I've discussed the issue in Discord here and here.
I'm running
dfx
on aUbuntu
machine (Ubuntu 20.04 LTS (GNU/Linux 4.4.0-19041-Microsoft x86_64)
) running on Windows 10 WSL. I followed the official docs for setting updfx
via WSL. I'm running node versionv19.1.0
and dfx version0.12.1
.This is the process I followed:
Everything looked good, and I could access the dashboard that opens up.
Then, running
dfx deploy
ends with an error:I followed a few suggestions including using the
--clean
option when startingdfx
, as well as deleting the.dfx
dir, but nothing worked.I also tried an alternative command, but got the same issue:
Gives:
I then downgraded to version
0.10.1
which started to work as expected. I suppose the issue is with the latest version then (0.12.1
).Meta
dfx --version
:Further log output
```
```