You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following error when running snyk test:
Error parsing manifest file on \path\to\project
I'm running the above command right in a Elixir Phoenix project, there is a mix.exs file there, am I missing something? is Elixir not supported anymore?
The text was updated successfully, but these errors were encountered:
In my case, I'm using asdf to manage installed language versions including Elixir and Erlang. I've determined that the way Snyk's hex plugin works, by spawning calls to mix from within a temporary directory (one within /var/folders/... on my machine, leads to asdf failing to load the necessary Elixir executables. This is because the expected/necessary .tool-versions manifest is not found in the temp dir.
If you too are using asdf, a workaround is to configure things globally. e.g.,
asdf global elixir 1.17.1-otp-27
asdf global erlang 27.0
I'm hoping to find a more sensible, generalized solution. In the meantime, perhaps this will help you as well.
Getting the following error when running
snyk test
:I'm running the above command right in a Elixir Phoenix project, there is a
mix.exs
file there, am I missing something? is Elixir not supported anymore?The text was updated successfully, but these errors were encountered: