Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trunk: no such file or directory #8

Closed
weykon opened this issue Aug 22, 2023 · 2 comments
Closed

Trunk: no such file or directory #8

weykon opened this issue Aug 22, 2023 · 2 comments

Comments

@weykon
Copy link

weykon commented Aug 22, 2023

use yew::prelude::*;

#[function_component]
fn App() -> Html {
    html! { "hello world" }
}

fn main() {
    yew::Renderer::<App>::new().render();
}

the result:

upstream connect error or disconnect/reset before headers. reset reason: remote reset
@ranile ranile changed the title Net problem for me? Trunk bin can't be located Sep 5, 2023
@ranile
Copy link
Member

ranile commented Sep 5, 2023

I added more logging and improved error handling. It seems that the trunk bin can't be located.
The lines

app_compiler: running command cmd=Command { std: "/usr/bin/trunk" "--config" "/app/Trunk.toml" "build", kill_on_drop: false }
app_compiler: running trunk failed e=Os { code: 2, kind: NotFound, message: "No such file or directory" }

are logged by

debug!(?cmd, "running command");

error!(?e, "running trunk failed");

I've updated the title to reflect the issue

@ranile ranile changed the title Trunk bin can't be located Trunk: no such file or directory Sep 5, 2023
@ranile
Copy link
Member

ranile commented Sep 5, 2023

This issue is fixed now

@ranile ranile closed this as completed Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants