Build crashes after upgrading v0.0.34-alpha1 to v0.0.37-alpha12
pospi opened this issue · 5 comments
Since this upgrade I am getting "Error: Couldn't create a DNA from the bundle, got error missing field code
" when attempting to build. I've purged the repo with the Holonix hn-flush
command and am still experiencing the issue.
Same error here, when updating from v0.0.30-alpha7 to v0.0.37-alpha12.
Hey @pospi could you give some steps to recreate the issue. We made some changes to how the .dna.json file is parsed and this might be what is causing it.
It also might be worth checking that there are no __META__
fields inside the zomes
field of the .dna.json or building with the hc package --strip-meta
to see if this makes a difference.
Ok I can confirm that using hc package --strip-meta
lets you build without issue. The issue is related to __META__
fields inside the zome object being treated as zomes which require code. You can use this fix until the next release
This should be fixed in the next release. I'll wait for a confirmation and then close the issue.
Can confirm the issue is gone! Now compiling and running fine. But I did have to replace all .hcbuild
files on all zomes for the new ones from https://github.com/holochain/holochain-rust/blob/develop/app_spec/zomes/blog/code/.hcbuild.
Thanks for the hard work, keep it up!