Open strottos opened 1 month ago
Actually looking into this even slightly, I see the error is coming from the following line:
error_views: app
.error_views
.expect("you must provide your own error pages in production"),
Which makes it pretty clear it's something I've failed to do, however the CLI should really report what the error was and it doesn't. I think getting the CLI to output the error would be a big improvement and I would consider that sufficient for this issue.
I think the CLI is reporting it, it's saying "you must provide your own error pages in production", and I'm pretty sure that's listed in the FAQ as well? What would have made it clearer? (Very happy to improve.)
I don't think the CLI did report it, think that was literally the only thing from this. The error itself is actually very clear but I had to run the program itself.
So this is the output from the CLI:
`` Finished
releaseprofile [optimized] target(s) in 0.20s Running
dist/target_engine/release/fe`
[1/4] 🔨 Generating your app...❌
but it doesn't actually spit anything from stdout/stderr it looks like.
Oh I get it! Sorry, I was reading the output of the program itself. This will be to do with just stdout/stderr redirection probably, let me take a look at how we're doing this internally. In the mean time, --verbose
should make this error appear.
This issue is reporting a bug in the code of Perseus. Details of the scope will be available in issue labels. The author described their issue as follows:
Output:
Exit code:
1
If I run the program it outputs I get:
Also
perceus build
andperceus serve
work fine.The steps to reproduce this issue are as follows:
Also happens if I use the latest code in git. Suspect it's specific to my system but the same happens in a docker
ubuntu
container.A minimum reproducible example is available at.
Tribble internal data
dHJpYmJsZS1yZXBvcnRlZCxDLWJ1ZyxBLWNsaSxhdXRob3Itd2lsbGluZy10by1pbXBs