Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lein serve fails with "The BROWSE action is not supported on the current platform!" #263

Open
jpt4 opened this issue Feb 2, 2024 · 1 comment

Comments

@jpt4
Copy link

jpt4 commented Feb 2, 2024

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.

[0] http://cryogenweb.org/docs/getting-started.html

@sanel
Copy link

sanel commented Aug 24, 2024

Quick workaround is to set :open-browser? false in server.clj file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants