Having trouble getting started with Ash

Hello, On Reddit yesterday I mentioned getting stuck with the startup with the Ash framework, I have gotten different issues different times but this was my most recent one I used the Ash websites code recommendation to get started, all I did was run the curl command which downloaded everything then I entered the directory it created and just running the igniter install commands fail Here is the configuration I used and the error I get when running the mix igniter install step I will say I get further along with the Postgres setup so maybe it has to do with sqllite
No description
No description
15 Replies
ZachDaniel
ZachDanielβ€’4mo ago
😒 This looks like something I just shipped actually can you try again? actually something strange there, I wonder why its using 5.0 igniter version πŸ€” Oh, you may just need mix deps.update igniter and mix local.igniter to update igniter versions?
Harshill
HarshillOPβ€’4mo ago
https://gist.github.com/Harshill/4ec01c5ae992b0ebc2b72d0da3556cf4 i got the same issue, here is my terminal output after running each step
Gist
ash install issues
ash install issues. GitHub Gist: instantly share code, notes, and snippets.
ZachDaniel
ZachDanielβ€’4mo ago
What does mix deps.outdated in your project shows sorry, mix hex.outdated of course as soon as I tell you our onboarding is better there is an onborading bug πŸ˜†
Harshill
HarshillOPβ€’4mo ago
No description
Harshill
HarshillOPβ€’4mo ago
Haha it happens, I like the ease of onboarding but I wish I understood the basics of it so I can debug myself like what igniter is trying to do etc I got your book by the way! So I really want to make ash work it seems like a fantastic idea
ZachDaniel
ZachDanielβ€’4mo ago
πŸ€” SOmething seems really strange here The stacktrace is showing this:
(igniter 0.5.0) Igniter.Project.Deps.determine_dep_type_and_version("ash")
(igniter 0.5.0) lib/igniter/util/install.ex:29: anonymous fn/1 in Igniter.Util.Install.install/4
(igniter 0.5.0) Igniter.Project.Deps.determine_dep_type_and_version("ash")
(igniter 0.5.0) lib/igniter/util/install.ex:29: anonymous fn/1 in Igniter.Util.Install.install/4
that shows igniter at version 0.5.0 oh wait mix archive
Harshill
HarshillOPβ€’4mo ago
Let me try getting asdf to use a local elixir and eel and for the project
ZachDaniel
ZachDanielβ€’4mo ago
whats the output of that
Harshill
HarshillOPβ€’4mo ago
It says Hex-2.1.1 Igniter 0.5.0 Igniter_new -0.5.29 Phx_new-1.8.0-rc.3
ZachDaniel
ZachDanielβ€’4mo ago
yep thats the problem this isn't something that can happen anymore mix archive.uninstall igniter at some point, you did mix archive.install hex igniter instead of mix archive.install hex igniter_new new versions of igniter prevent you from doing that because it causes all kinds of weird crap πŸ˜„ (like this)
Harshill
HarshillOPβ€’4mo ago
Ah makes sense! So once I uninstall igniter I can just rerun those original commands that were failing right?
ZachDaniel
ZachDanielβ€’4mo ago
yep, should work I didn't think to ask because it hasn't been possible to do mix archive.install hex igniter for a while, but it makes sense if you checked it out a while back, had issues then, and are still in that bad state.
Harshill
HarshillOPβ€’4mo ago
Yupp that’s working now, hopefully no more issues!
ZachDaniel
ZachDanielβ€’4mo ago
πŸ₯³
abeeshake456
abeeshake456β€’4mo ago
woah. that's too tricky :p

Did you find this page helpful?