Error : while upgrading elixir from 1.9.1 to 1.12.0 & erlang from 22.0.7-->24.1.6

Getting below error while deploying the code on circle ci pipeline.
The codebase was running smooth in local environment, but during deployment its simply failing.
What could the reason for failure?

06:28:02.719 [info] Application plug exited: exited in: Plug.start(:normal, [])
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function Plug.start/2 is undefined or private
(plug 1.7.2) Plug.start(:normal, [])
(kernel 8.0) application_master.erl:293: :application_master.start_it_old/4

06:28:02.739 [info] Application plug_crypto exited: :stopped

06:28:02.739 [info] Application mime exited: :stopped

06:28:02.740 [info] Application eex exited: :stopped

Thanks in advance!

The mod option (as in, the module that starts an application) in plug used to be Plug in the older versions, but now it is Plug.Application.

1 Like