Search code examples
phpstormapache-phoenixlaravel-elixir

Error unexpected token: "" (column 1, codepoint U+0000) when making file changes with a code editor


Whenever I make a change to a file using Atom or PhpStorm, I'm getting the following error:

unexpected token: "" (column 1, codepoint U+0000)

However, if I use VIM, it works fine. What's going on? I've used PhpStorm when writing Elixir in the past and haven't had any issues. I'm using Ubuntu 18.04 and PhpStorm. 2018.2


Solution

  • I switched to a Ubuntu 18.04 box in Vagrant and the issue no longer occurs.