Created
October 30, 2019 14:40
-
-
Save dreverri/413660d57170ebb5c3e6400b33fe2af4 to your computer and use it in GitHub Desktop.
elm init fails in pure nix-shell on macos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/tmp/elm-test β― nix-shell --pure -p yarn | |
~/tmp/elm-test via pure β― yarn install elm | |
yarn install v1.19.0 | |
info No lockfile found. | |
error `install` has been replaced with `add` to add new dependencies. Run "yarn add elm" instead. | |
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. | |
~/tmp/elm-test via pure β― yarn add elm | |
yarn add v1.19.0 | |
info No lockfile found. | |
[1/4] π Resolving packages... | |
[2/4] π Fetching packages... | |
[3/4] π Linking dependencies... | |
[4/4] π¨ Building fresh packages... | |
success Saved lockfile. | |
success Saved 46 new dependencies. | |
info Direct dependencies | |
ββ [email protected] | |
info All dependencies | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
ββ [email protected] | |
β¨ Done in 2.92s. | |
~/tmp/elm-test via pure took 3s β― ls | |
node_modules package.json yarn.lock | |
~/tmp/elm-test via pure β― yarn run elm init | |
yarn run v1.19.0 | |
warning package.json: No license field | |
$ ~/tmp/elm-test/node_modules/.bin/elm init | |
Hello! Elm projects always start with an elm.json file. I can create them! | |
Now you may be wondering, what will be in this file? How do I add Elm files to | |
my project? How do I see it in the browser? How will my code grow? Do I need | |
more directories? What about tests? Etc. | |
Check out <https://elm-lang.org/0.19.1/init> for all the answers! | |
Knowing all that, would you like me to create an elm.json file now? [Y/n]: y | |
elm: security: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory) | |
-- ERROR ----------------------------------------------------------------------- | |
I ran into something that bypassed the normal error reporting process! I | |
extracted whatever information I could from the internal error: | |
> thread blocked indefinitely in an MVar operation | |
These errors are usually pretty confusing, so start by asking around on one of | |
forums listed at https://elm-lang.org/community to see if anyone can get you | |
unstuck quickly. | |
-- REQUEST --------------------------------------------------------------------- | |
If you are feeling up to it, please try to get your code down to the smallest | |
version that still triggers this message. Ideally in a single Main.elm and | |
elm.json file. | |
From there open a NEW issue at https://github.com/elm/compiler/issues with your | |
reduced example pasted in directly. (Not a link to a repo or gist!) Do not worry | |
about if someone else saw something similar. More examples is better! | |
This kind of error is usually tied up in larger architectural choices that are | |
hard to change, so even when we have a couple good examples, it can take some | |
time to resolve in a solid way.elm: thread blocked indefinitely in an MVar operation | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
~/tmp/elm-test via pure took 12s β― |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! I'm hitting the same error. Have you managed to fix or report it?