The issue with dfx generate
(that’s what you’re running into) is already fixed on master. Should be in the next release. As a workaround you can try dfx build --check
before dfx build --ic
. As a last resort you can also try putting the did file there manually