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

clerk-watch fails with error #8

Open
simon-brooke opened this issue May 20, 2023 · 0 comments
Open

clerk-watch fails with error #8

simon-brooke opened this issue May 20, 2023 · 0 comments

Comments

@simon-brooke
Copy link

Following your instructions in Running / Editing the Essays using Visual Studio Code on a MacBook pro, I got as far as bb clerk-watch; this failed with the following error:

Reflection warning, nextjournal/markdown.clj:22:5 - call to method allowExperimentalOptions on org.graalvm.polyglot.Context$Builder can't be resolved (no such method).
Exception in thread "main" Syntax error macroexpanding at (markdown.clj:13:3).

As usual the Clojure backtrace is overly prolix and not enormously helpful, but I noted these points which may be helpful:

        at nextjournal.clerk.parser$eval5422$loading__6789__auto____5423.invoke(parser.cljc:1)
        at nextjournal.clerk.parser$eval5422.invokeStatic(parser.cljc:1)
        at nextjournal.clerk.parser$eval5422.invoke(parser.cljc:1)
...
        at nextjournal.clerk.analyzer$eval465$loading__6789__auto____466.invoke(analyzer.clj:1)
        at nextjournal.clerk.analyzer$eval465.invokeStatic(analyzer.clj:1)
        at nextjournal.clerk.analyzer$eval465.invoke(analyzer.clj:1)
 ...
        at nextjournal.clerk$eval162$loading__6789__auto____163.invoke(clerk.clj:1)
        at nextjournal.clerk$eval162.invokeStatic(clerk.clj:1)
        at nextjournal.clerk$eval162.invoke(clerk.clj:1)
...
        at mentat.clerk_utils.docs$eval154$loading__6789__auto____155.invoke(docs.clj:1)
        at mentat.clerk_utils.docs$eval154.invokeStatic(docs.clj:1)
        at mentat.clerk_utils.docs$eval154.invoke(docs.clj:1)
...
        at mentat.clerk_utils.build$eval146$loading__6789__auto____147.invoke(build.clj:1)
        at mentat.clerk_utils.build$eval146.invokeStatic(build.clj:1)
        at mentat.clerk_utils.build$eval146.invoke(build.clj:1)
...
        at user$eval138$loading__6789__auto____139.invoke(user.clj:1)
        at user$eval138.invokeStatic(user.clj:1)
        at user$eval138.invoke(user.clj:1)

Babashka installed (this morning) via Homebrew:

illuminator:road-to-reality simon$ bb --version
babashka v1.3.179

Clojure almost certainly also installed via Homebrew, but not this morning

illuminator:road-to-reality simon$ clj --version
Clojure CLI version 1.10.3.1058

I've not been updating Java on MacOS lately because Oracle wants me to accept obnoxious new license terms I'm not prepared to accept:

illuminator:road-to-reality simon$ java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
GraalVM 1.0.0-rc1 (build 25.71-b01-internal-jvmci-0.42, mixed mode)

Let me know whether there's any further information that would help you diagnose.

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

1 participant