avli / clojureVSCode

Clojure support for Visual Studio Code
https://avli.github.io/clojureVSCode/
MIT License
204 stars 34 forks source link

where could I find console log? #69

Closed cyberyoung closed 6 years ago

cyberyoung commented 7 years ago

I used it on my 2 macs, one is ok, the other cannot work(printing "Starting nREPL..." like, forever). I ps grep java, and found the java process will disappear after a while, so I want to see what happened, but I cannot find any console output. Thanks

avli commented 7 years ago

I'd suggest trying the approach described in the second comment in the issue #53. I will appreciate if you share the results.

cyberyoung commented 7 years ago

found errors as below:

pasted image at 2017_10_16 02_58 pm

avli commented 7 years ago

@cyberyoung I've recently come upon very similar error which it seems has something to do with the Leiningen options mismatch with the Java version (see this issue).

What Leiningen and Java versions are you using?

cyberyoung commented 7 years ago

@avli lein 2.7.1 java 1.8U151


➜ /Users/liyang/workspace/modata/everest git:(develop) >java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)```
cyberyoung commented 7 years ago

ok, I finally fixed it using lein from homebrew. I just found the only difference between my 2 mac is: one use lein from Homebrew(which is ok wieht clojure extension), and the other use the one download directly from https://raw.githubusercontent.com/technomancy/leiningen/master/bin/lein, the latter one will download jar in .lein/self-install. Not sure if this info can help you to dig he problem.