How to Fix Esbuild.start Error in Elixir Phoenix

From ElixirBlocks
Revision as of 18:14, 30 May 2023 by Admin (talk | contribs) (Created page with "You start phoenix server mix phx.server and get this error: <source> ** (Mix) Could not start application esbuild: exited in: Esbuild.start(:normal, []) ** (EXIT) an exception was raised: ** (ErlangError) Erlang error: :eacces: </source> Delete the directories named '''_build''' and '''deps'''. Run: mix deps.get + compile When you move an Elixir Phoenix app to another machine you always delete those directories.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You start phoenix server mix phx.server and get this error:

** (Mix) Could not start application esbuild: exited in: Esbuild.start(:normal, [])
    ** (EXIT) an exception was raised:
        ** (ErlangError) Erlang error: :eacces:

Delete the directories named _build and deps.

Run: mix deps.get + compile


When you move an Elixir Phoenix app to another machine you always delete those directories.