halfzebra / create-elm-app

🍃 Create Elm apps with zero configuration
MIT License
1.68k stars 147 forks source link

Enable Apple M1 Support: bump elm-test to 0.19.1-revision7 🚀 #602

Closed kutyel closed 2 years ago

kutyel commented 2 years ago

Hi! Every time I switch to one of my elm projects using create-elm-app in my new M1 device, I get this kind of error:

Directory: ***/node_modules/elmi-to-json
Output:
***/node_modules/binwrap/install.js:18
    throw new Error("No binaries are available for your platform: " + buildId);
    ^

elmi-to-json got M1 support in July: https://github.com/stoeffel/elmi-to-json/pull/41

So this is an attempt to fix that by bumping to a superior version of elm-test.

If you consider merging this please 🙏🏻 add the hacktoberfest-accepted label to this PR 😉

Happy Hacking! 🤓

kutyel commented 2 years ago

@halfzebra I noticed this change would not really fix the underneath issue but I'd like pointers on how to actually fix this because I really wan't create-elm-app to be usable in Apple M1! Because of this issue, some users are migrating to other tools like elm-live, see this as an example: https://github.com/higherkindness/mu-graphql-example-elm/pull/10 😢