planck

Planck ClojureScript REPL
nate 2018-06-18T19:35:20.000369Z

hm, I'm getting a null pointer exception when I try to run the shebang deps example

nate 2018-06-18T19:35:35.000296Z

#!/usr/bin/env bash
"exec" "plk" "-Sverbose" "-Sdescribe" "-Sdeps" "{:deps {andare {mvn/version \"0.7.0\"}}}" "-Ksf" "$0" "$@"
(require '[clojure.core.async :refer [chan go <! >!]])

(def c (chan))
(go (prn (<! c)))
(go (>! c *command-line-args*))

nate 2018-06-18T19:38:13.000489Z

I have planck version 2.15.0

nate 2018-06-18T19:39:13.000387Z

anyone else run into this?

mfikes 2018-06-18T19:40:11.000230Z

Add a colon prior to mvn/version

mfikes 2018-06-18T19:41:57.000113Z

Captured https://github.com/planck-repl/planck/issues/755

nate 2018-06-18T19:42:40.000705Z

ah cool

mfikes 2018-06-18T19:42:55.000664Z

Something else may be wrong, but at least that gets beyond the NPE

nate 2018-06-18T19:44:02.000113Z

indeed, but that does unlock the gate

nate 2018-06-18T19:44:04.000401Z

thank you

mfikes 2018-06-18T19:44:26.000109Z

TBH, I don't recall why it has -Sverbose and -Sdescribe. That seems like another typo

nate 2018-06-18T19:45:23.000602Z

oh

nate 2018-06-18T19:45:33.000026Z

I added those in an attempt to understand what was going on

mfikes 2018-06-18T19:48:53.000431Z

Cool. @nate Another typo in that example might be the need for Andare 0.9.0

nate 2018-06-18T19:49:11.000011Z

I'll see if I can get it cleaned up and submit a PR

👍 1
mfikes 2018-06-18T19:49:13.000279Z

With that, and ensuring that I don't have a stale .planck_cache lying around, it works

nate 2018-06-18T19:55:27.000799Z

cool, works for me too