Testing HATs are configured to support requests from https://localhost:3000 by default. If you run the project locally on a different port, the requests will not come through by the CORS policy.
Install HAT-JS
Now you can install the HAT-JS:
You'll need to restart the server every time you install a package using npm. You can use Ctrl + C to stop the server and npm start to start the server.