Failed to load resource: the server responded with a status of 404 (Not Found)

Hi all

I followed this tutorial and it works fine when I run the Gradle task jsRun. Then I open the browser and the JS is called.

However, when I create my own project (JS Client and JVM Server | Gradle) in Intellij and try to run jsRun it doesn’t seem to work. I open the browser and it just tells me that: Failed to load resource: the server responded with a status of 404 (Not Found).

I’ve really tried to see if there were anything different in my setup compared to the tutorial but I can’t figure it out. Also, I would expect it to work out of the box when creating a new project.

I’m on a Mac if that is of any use.

Thanks