#Error when adding `pog` using `gleam add pog`
1 messages · Page 1 of 1 (latest)
seems to work fine?!
❯ gleam --version
gleam 1.7.0
❯ gleam add pog
Resolving versions
Downloading packages
Downloaded 5 packages in 4.21s
Added pog v3.1.1
? I have no idea what I'm doing wrong 😦
try clear ~/.cache/gleam/hex/hexpm/packages/ ?
Is your project a “subproject” of another one? I was getting that too in some sub projects
nope
i have no gleam folder in ~/.cache/gleam 😦
❯ sha256sum ~/.cache/gleam/hex/hexpm/packages/pog-3.1.1.tar
0c516688f2ca531d70487e2f1da18a9b0ca05bd8a16a33026d19ce2368885179 /home/damjan/.cache/gleam/hex/hexpm/packages/pog-3.1.1.tar
hrm
You shouldn’t ever need to do that. What makes you recommend doing so?
Could you open an issue and include your manifest.toml and gleam.toml please
on the off chance the cache got corupted
Shouldn’t be possible as we verify checksums. Did you find something?
It is probably related to my project.
It’s a bug in Gleam I think
Cause I created a fresh empty project and could add it without any problem
Yee Gleam is handling your config files incorrectly in some way
would you (@ Alex) mind linking the issue here if you make one? I was getting the same thing but I haven't had a chance to look into it...I also only got it with subprojects and multiple git worktrees checked out, so I had thought it might be because of that
Here we go: https://github.com/gleam-lang/gleam/issues/4152
if needed I pushed my repo with the issue: https://github.com/alexandreroba/realworld-gleam
Thank you
You're welcome.
can reproduce.
seems to be conflicting with gjwt for some reason. if you remove gjwt you can then add pog
Indeed If I install first pog and squirrel and then gjwt then it works.