Closed aleksrutins closed 5 months ago
I pulled your repo and rebuilt the package and I ran into the same exact error. I was able to resolve it by moving the prism.mojopkg file out of vendor so it's on the same level as your charm.🔥 file.
After updating the import statement, it ran without issue by running mojo run charm.🔥
and also after building it into a binary and running that. So, try giving that a go.
mojo build charm.🔥
./charm
./charm init
Maybe this is a bug with .mojopkg
files? Doesn't seem like it was working correctly when it was part of another package (vendor).
@aleksrutins Were you able to resolve the issue?
I'm getting started with Mojo, and I'm getting this error, which seems at first glance like LLVM wizardry:
Any ideas?
Here's the code, which is essentially a copy of the example at the moment.
(Yes, I am the same person from the Discord.)