Closed CrowdHailer closed 1 month ago
Thank you. Let's raise some more useful error message when the manifest has been edited to be invalid.
i can find the location where the code panics but i can't recreate the bug. Can @CrowdHailer pls give the minimal steps on how to recreate the bug in a new project?
unfortunately I'm not able to recreate in a new project.
@CrowdHailer
Can you paste the contents of the manifest.toml and gleam.toml when the error occurs?
He doesn't have them any more and doesn't know how to make it happen again.
You could try removing some of the entries from the manifest perhaps
ok, i'm able to recreate the bug. will make a PR soon.
@lpil here is the PR https://github.com/gleam-lang/gleam/pull/2913
I'm doing some merging of branches and got this. I got a merge conflict in the manifest file and just took one branches with the hope of being able to run gleam add.
p.s. running gleam update first fixed the issue. but I still though worth reporting as the compiler told me too.