Open JurrianFahner opened 2 months ago
True, I am wondering why you get an Access is denied
error?
I am also encountering this issue using a fresh install of trunk 0.20.3 and cargo 1.81.0 when building a Bevy WASM project. The error didn't occur on macOS and I do have permissions to the directory.
Running trunk build
before trunk serve
resolves the error for me as well, although I don't have any idea why.
One thing I did find while playing around with it is that manually creating the directory "target/wasm32-unknown-unknown" also allows trunk serve
to build. I'm wondering if there may be some difference in the way serve and build initialize directories that's causing strange behavior.
True, I am wondering why you get an
Access is denied
error?
I don't have a clue. Also no experience yet with debugging trunk.
When following the yew starting guide it fails in the following way:
Workaround is to run
trunk build
first and then thetrunk serve
command succeeds.In my understanding the workaround shouldn't be applied.
Affected trunk versions: