I'm trying to run a Hacklang code and also a Hacklang website on VSCode, Mac Pro M1. However, I keep getting the errors zsh: illegal hardware instruction hhvm hello.hack
and zsh: illegal hardware instruction hhvm -m server -p 8080
.
I follow the instructions from the Hack docs, but it seems not to be working. Could anyone please help me resolve this issue?
Asked
Active
Viewed 145 times
0
1 Answers
0
HHVM does not support ARM64 Macs (M1+): https://github.com/facebook/hhvm/issues/8875
I suggest switching to PHP.

Pere
- 1,647
- 3
- 27
- 52