`lein serve` fails with "The BROWSE action is not supported on the current platform!"
jpt4 opened this issue · 1 comments
Following the Cryogen docs [0], I initialized the default website, and attempted to serve it with lein serve
.
The site built, and can be accessed by navigating to the index.html file with my browser (Chromium
112.0.5615.165). However, it cannot be accessed via localhost:3000, due to, I believe, the following error:
"Elapsed time: 984.893704 msecs"
Started server on port 3000
Execution error (UnsupportedOperationException) at java.awt.Desktop/checkActionSupport (Desktop.java:221).
The BROWSE action is not supported on the current platform!
System details:
GNU Guix System, Linux 6.2.14
java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (IcedTea 3.19.0) (guix build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
This might be an issue with IcedTea/my OpenJDK install, but I am reporting it here in case others have encountered the same issue.
Quick workaround is to set :open-browser? false
in server.clj file