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

Elixir deps can't be compiled #350

Open
jonas-jonas opened this issue Apr 25, 2024 · 0 comments
Open

Elixir deps can't be compiled #350

jonas-jonas opened this issue Apr 25, 2024 · 0 comments
Labels
area/sdk This issue affects Ory's SDKs.

Comments

@jonas-jonas
Copy link
Collaborator

The SDK build for elixir is failing with this error message [1] when using the 7.4.0 version of the open-api-generator for elixir.

I couldn't install a newer version of elixir in the docker image for some reason, and as the version that's available to our docker base image is v1.10.3 which is pretty old, I suspect, that that might be the issue.

[1]:

== Compilation error in file lib/tesla/middleware/sse.ex ==
** (CompileError) lib/tesla/middleware/sse.ex:41: cannot find or invoke local is_struct/2 inside guard. Only macros can be invoked in a guard and they must be defined before their invocation. Called as: is_struct(body, Stream)
    (stdlib 3.14) lists.erl:1358: :lists.mapfoldl/3
    (elixir 1.10.3) expanding macro: Kernel.or/2
    lib/tesla/middleware/sse.ex:41: Tesla.Middleware.SSE.decode_body/2
could not compile dependency :tesla, "mix compile" failed. You can recompile this dependency with "mix deps.compile tesla", update it with "mix deps.update tesla" or clean it with "mix deps.clean tesla"
@jonas-jonas jonas-jonas added the area/sdk This issue affects Ory's SDKs. label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sdk This issue affects Ory's SDKs.
Projects
None yet
Development

No branches or pull requests

1 participant