dfx start
fails? I haven’t seen that happen in a long time, especially with --clean
. Let’s try manually cleaning up any state that’s left over.
-
dfx stop
in case anything is still running -
dfx start -vvvv
to start with debug output - cancel the running dfx start (Ctrl+C)
- In the output from
dfx start -vvvv
you should see a line that starts withdata directory:
that points to a folder. In my case it is/Users/<user name>/Library/Application Support/org.dfinity.dfx/network/local
rm -rf <folder you found in step 4>
- start the replica again (
dfx start --clean
, with or without--background
, as you prefer) - try deploying again