trunk-rs / trunk

Build, bundle & ship your Rust WASM application to the web.
https://trunkrs.dev/
Apache License 2.0
3.49k stars 251 forks source link

error from HTML pipeline, no such file or directory #329

Closed Timmmm closed 1 year ago

Timmmm commented 2 years ago

If you take the Yew example, move index.html to src/index.html and then change target = "index.html" to target = "src/index.html" it gives you this confusing and unexpected error:

Mar 04 13:45:32.530 ERROR ❌ error
error from HTML pipeline

Caused by:
    No such file or directory (os error 2)
Timmmm commented 2 years ago

Actually I think this is caused when you move the file while trunk is running in watch mode. Still, it could do something more obvious in this case, e.g. printing the file name.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 5 days with no activity.