-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Unable to run examples with trunk version 0.5.0 #1587
Comments
@seanybaggins I'll take a look right now. |
@seanybaggins are you getting any terminal output from Trunk? |
I can't believe it literally only took a day to break. I thought I could finally take a break from the examples 😆 |
Yes.
|
Looks like a regression in Trunk related to serving the |
Yup, I put the middleware after the handler itself ☠️ ... just putting the middleware first fixes the issue. A stupid regression. Will have to add some regression tests for this in Trunk. |
@seanybaggins I'll push a 0.5.1 trunk release right now. |
This fixes a regression in the 0.5.0 release where the index.html file was not being served as a fallback. closes #55 closes yewstack/yew#1587
Ok, 0.5.1 release is being built right now. I tested it on this example, and it fixes the issue. Thanks for the report @seanybaggins! |
@siku2 this makes me wonder if we should setup some more in-depth regression tests in trunk to clone this repo & spawn and test builds for each of the examples. Thoughts? |
@thedodd Thanks for the quick fix. |
@seanybaggins ok, you should be good to go now. Let me know if you run into any other issues. |
@seanybaggins you're good. I'll chat with Siku on discord and we can coordinate regression/example tests in the Trunk repo. Thanks! |
Thanks a ton for taking care of this! |
Problem
Web pages are plank when serving examples with trunk version 0.5.0.
Running trunk version 0.4.0 seams to resolve this issue.
Steps To Reproduce
Steps to reproduce the behavior:
cargo install trunk --version 0.5.0
examples/game_of_life
directory (I chose the game of life example, but any example should be able to reproduce the same error).trunk serve --release
http://127.0.0.1:8080/
Expected behavior
To see the following webpage.
Actual behavior
A blank, white webpage.
Environment:
master
1.46.0 stable
trunk
Mozilla Firefox 80.0.1
Questionnaire
The text was updated successfully, but these errors were encountered: