CORS Error - warning: incompatible types

Updating for the version 1.5.4 worked for me, was 1.5.1. What I made:

  • In mix.exs under function deps change the version of phoenix
  • Run mix deps.get phoenix to download the new version
  • Run mix deps.compile phoenix to compile the new version

Thanks for the help