I created a school project to use the Hack language.
I performed the installation of hhvm
according to documentation
sudo apt-get install hhvm
I started the server
hhvm -m server -p 8080
And I created a file called selectPost.hh
which contains only the initial tag
<?hh
//Nao tem mais nada
When I open the browser and try to run my file it does not work. In the terminal log generates the following:
Fatal error: /home/user/Documents/web/ajax/selectPost.hh appears to be a Hack file, but you do not appear to be running the Hack typechecker.
I did not understand how I can execute a file on the server.
Does anyone know what setting I have missed?