Unexpected token ILLEGAL

Now that you bring that up. I remember installing node on linux before using apt or apt-get and it installed an old version of node rather than the latest. That could definitely be a possibility here.