Getting error Unexpected token "EOF"

HI,

I’m trying to run “php artisan” in my Laravel application, and got the follow error:

  [Hoa\Compiler\Exception\UnexpectedToken]              
  Unexpected token "EOF" (EOF) at line 1 and column 1:  
  (null)                                                
  ↑

Any ideia how to debug this?

Ps. I have another server with the same project that just runs fine.

Just found my problem, I had an expression that depends of a variable at .env, and I forgot to define it.

So, the expression was null, that was what created the error.

I didn’t know that the command “php artisan” tries to initialize all the classes, and other parts of my system just works fine, it was just confusing not to know where the error was.

So I assume you’re using Hoa within Laravel? What is your usecase?