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

Don't panic when not using manganis #2675

Closed
wants to merge 1 commit into from

Conversation

luveti
Copy link
Contributor

@luveti luveti commented Jul 22, 2024

No description provided.

@jkelleyrtp jkelleyrtp self-requested a review July 23, 2024 23:54
@jkelleyrtp
Copy link
Member

jkelleyrtp commented Jul 23, 2024

This is good in theory but magnanis can't really be disabled when running with the CLI - it seems like there's a bug in the magnanis-cli-support crate that's causing it to crash and/or not make that output file. We shouldn't be unwrapping there, but we also shouldn't be panicking upstream. This really isn't the right fix for that issue - can you do some sleuthing to figure out what's actually causing the MG json file to not exist?

With that can we also turn that into a proper github issue?

@jkelleyrtp jkelleyrtp closed this Jul 23, 2024
@luveti
Copy link
Contributor Author

luveti commented Jul 24, 2024

I dug into manganis, and have fixed the issue: DioxusLabs/manganis#46.

Just a classic NixOS issue :)

This explains why the optimizing assets step was taking so long, I'm guessing the CLI is timing out after the script failed. Now it completes instantly!

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

Successfully merging this pull request may close these issues.

2 participants