Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this integration not working anymore in Snyk? #10

Open
messutied opened this issue Feb 28, 2022 · 1 comment
Open

Is this integration not working anymore in Snyk? #10

messutied opened this issue Feb 28, 2022 · 1 comment

Comments

@messutied
Copy link

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?

@coreyti
Copy link

coreyti commented Jun 21, 2024

@messutied, I experience similar issues.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants