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

Server not starting, incompatible types #57

Open
nadavhames opened this issue Aug 26, 2021 · 0 comments
Open

Server not starting, incompatible types #57

nadavhames opened this issue Aug 26, 2021 · 0 comments

Comments

@nadavhames
Copy link

When I try to run the server, I get the following warning 4 times in different areas of lib/riverside.ex.
It finishes generating the app but then it does not run. Maybe this is an obvious bug, but I am quite new to Elixir so some help here would be appreciated! Thanks

Compiling 3 files (.ex)
warning: incompatible types:

    map() !~ Riverside.Codec.JSON

in expression:

    # lib/riverside.ex:955
    %{codec: Riverside.Codec.JSON, connection_max_age: :infinity, idle_timeout: 60000, max_connections: 65536, path: "/", port: 3000, reuse_port: false, show_debug_logs: false, transmission_limit: [duration: 2000, capacity: 50]}.codec.frame_type
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

1 participant