I\'m trying to build a vagrant server for dabbling with elixir and phoenix, but after installing all requirements and dependencies, and on running mix phoenix.server>
I see that there is already an accepted answer here. I just encountered the exact same error, and tried the solution Chris posted above. It did not work for me, but based on the github issue link Chris posted above, I found a solution that worked for me.
I found that you don't necessarily need to be using node v5.0+. I am using node 4.4.3 LTS, and things are working.
npm install --save-dev babel-preset-es2015