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

build warning #45

Open
sparrell opened this issue Oct 21, 2020 · 1 comment
Open

build warning #45

sparrell opened this issue Oct 21, 2020 · 1 comment

Comments

@sparrell
Copy link
Owner

fix:

Generated phoenix_live_view app
warning: Phoenix now requires you to explicitly list which engine to use
for Phoenix JSON encoding. We recommend everyone to upgrade to
Jason by setting in your config/config.exs:

config :phoenix, :json_library, Jason

And then adding {:jason, "~> 1.0"} as a dependency.

If instead you would rather continue using Poison, then add to
your config/config.exs:

config :phoenix, :json_library, Poison

(phoenix 1.5.4) lib/phoenix.ex:38: Phoenix.start/2
(kernel 6.5.2.1) application_master.erl:277: :application_master.start_it_old/4

@sparrell sparrell created this issue from a note in CybersecurityAutomationWorkshop (To do) Oct 21, 2020
@sparrell
Copy link
Owner Author

might not be fixable. we appear to have the exact lines they requested, yet we still get the error

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

No branches or pull requests

1 participant