"File allready exists" error when building standard new project on 0.5.9

in a newly created project hello (linux mint 19.3, npm 3.5.2)

dfx build
Building canisters…
Building frontend…
Build failed. Reason:
Postbuild step failed for canister ic:040000000000000000000000000000000001AF with error: An error occured:
Io(
Os {
code: 17,
kind: AlreadyExists,
message: “File exists”,
},
)

this is the assets canister, as far as I understand by looking at the canister_manifest.json
building without front-end works fine

3 Likes

Did you try deleting .dfx/state, sometimes this helps?

2 Likes

@bobbylingus 0.5.9 is an internal release and has several known issues and changes that are not yet documented. We have a fix for this, and it will be included in the next public release.

3 Likes