Open JoakimMellonn opened 4 hours ago
Hey, thank you for reporting the issue.
I've created a reproduction at https://github.com/primatejs/issues/tree/169 which includes a simple Go route that returns plaintext.
You can run it with
git clone -b 169 https://github.com/primatejs/issues && cd issues && npm install && npx primate
Browsing to http://localhost:6161
displays Hello, world!
The faulty route error (which fails to display here -- will investigate why) could indicate that primate cannot find Go in path, which it needs to compile routes. Does go version
work for you?
If this is not a problem of Go itself missing, could you send a small PR against this branch with the reproducible error? You might be doing something different in your Go route.
When trying to use the Go module for having a backend in go, I'm getting the following error when running the app. This is a problem with a newly setup app.
Steps for reproduction