How to Fix Esbuild.start Error in Elixir Phoenix

From ElixirBlocks
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.