Basic dfx new + dfx start errors

I installed the cli tool following the docs, but after creating a new project with dfx new what (ignore the dirname… lol), running dfx start (from the what dir) spits out this error:

➜ what git:(main) ✗ dfx start
Running dfx start for version 0.15.1
Using the default definition for the ‘local’ shared network because /Users/calebreyes/.config/dfx/networks.json does not exist.
thread ‘main’ panicked at ‘Conversion from protobuf should not fail: Other(“Missing required struct field: UnmaskedTranscriptWithAttributes::attributes”)’, rs/artifact_pool/src/rocksdb_pool.rs:541:22
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

more details:
➜ what git:(main) ✗ which dfx
/usr/local/bin/dfx
➜ what git:(main) ✗ dfx -V
dfx 0.15.1
➜ what git:(main) ✗ dfx diagnose
Error: An error happened during communication with the replica: error sending request for url (http://127.0.0.1:4943/api/v2/status): error trying to connect: tcp connect error: Connection refused (os error 61)

I also deleted and re-installed the cache via dfx cache, to no avail.

What system are you running this on?

Not able to reproduce this, can you give more details about your setup ?

Running on an M1 MacBook Pro. After nuking/reinstalling the binary a few times, I got the local environment running after running dfx start --clean. :man_shrugging:t4:

1 Like