Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Cannot connect to project.clj #12

Open
ghost opened this issue Jun 25, 2020 · 0 comments
Open

Cannot connect to project.clj #12

ghost opened this issue Jun 25, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 25, 2020

Describe the bug
After creating a new project using lein new another-project, LightTable is unable to connect to the project.

Branch

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Clojure project: lein new another-project
  2. Open a newly installed LightTable
  3. Go to Window->Connections : a connections panel should open
  4. Select Clojure
  5. Select the project.clj from another-project
  6. Connection fails.

Expected behavior
Connection succeeds.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS 10.14
  • java: 1.8.0_172

Additional context

We couldn't connect.

Looks like there was an issue trying to connect to the project. Here's what we got:
final project:  {:description FIXME: write description, :compile-path /Users/andy/repos/learnclojure/target/classes, :deploy-repositories [[clojars {:url https://clojars.org/repo/, :password :gpg, :username :gpg}]], :group learnclojure, :license {:name EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0, :url https://www.eclipse.org/legal/epl-2.0/}, :resource-paths (/Users/andy/repos/learnclojure/dev-resources /Users/andy/repos/learnclojure/resources), :uberjar-merge-with {META-INF/plexus/components.xml leiningen.uberjar/components-merger, data_readers.clj leiningen.uberjar/clj-map-merger, #"META-INF/services/.*" [clojure.core/slurp (fn* [p1__949__951__auto__ p2__950__952__auto__] (clojure.core/str p1__949__951__auto__ 
 p2__950__952__auto__)) clojure.core/spit]}, :name learnclojure, :checkout-deps-shares [:source-paths :test-paths :resource-paths :compile-path #'leiningen.core.classpath/checkout-deps-paths], :source-paths (/Users/andy/repos/learnclojure/src), :eval-in :subprocess, :repositories [[central {:url https://repo1.maven.org/maven2/, :snapshots false}] [clojars {:url https://clojars.org/repo/}]], :test-paths (/Users/andy/repos/learnclojure/test), :target-path /Users/andy/repos/learnclojure/target, :prep-tasks [javac compile], :native-path /Users/andy/repos/learnclojure/target/native, :offline? false, :root /Users/andy/repos/learnclojure, :pedantic? ranges, :clean-targets [:target-path], :plugins [], :url http://example.com/FIXME, :plugin-repositories [[central {:url https://repo1.maven.org/maven2/, :snapshots false}] [clojars {:url https://clojars.org/repo/}]], :version 0.1.0-SNAPSHOT, :jar-exclusions [#"^\."], :global-vars {}, :uberjar-exclusions [#"(?i)^META-INF/[^/]*\.(SF|RSA|DSA)$"], :jvm-opts [], :dependencies ([org.clojure/clojure 1.10.1] [org.clojure/tools.nrepl 0.2.10 :exclusions ([org.clojure/clojure])] [clojure-complete/clojure-complete 0.2.3 :exclusions ([org.clojure/clojure])] [lein-light-nrepl/lein-light-nrepl 0.3.0] [lein-light-nrepl-instarepl/lein-light-nrepl-instarepl 0.3.1]), :release-tasks [[vcs assert-committed] [change version leiningen.release/bump-version release] [vcs commit] [vcs tag] [deploy] [change version leiningen.release/bump-version] [vcs commit] [vcs push]], :repl-options {:init-ns learnclojure.core, :nrepl-middleware [lighttable.nrepl.handler/lighttable-ops], :init (clojure.core/swap! lighttable.nrepl.core/my-settings clojure.core/merge {:name learnclojure 0.1.0-SNAPSHOT, :project (quote {:description FIXME: write description, :compile-path /Users/andy/repos/learnclojure/target/classes, :deploy-repositories [[clojars {:url https://clojars.org/repo/, :password :gpg, :username :gpg}]], :group learnclojure, :license {:name EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0, :url https://www.eclipse.org/legal/epl-2.0/}, :resource-paths (/Users/andy/repos/learnclojure/dev-resources /Users/andy/repos/learnclojure/resources), :uberjar-merge-with {META-INF/plexus/components.xml leiningen.uberjar/components-merger, data_readers.clj leiningen.uberjar/clj-map-merger, #"META-INF/services/.*" [clojure.core/slurp (fn* [p1__949__951__auto__ p2__950__952__auto__] (clojure.core/str p1__949__951__auto__ 
 p2__950__952__auto__)) clojure.core/spit]}, :name learnclojure, :checkout-deps-shares [:source-paths :test-paths :resource-paths :compile-path #'leiningen.core.classpath/checkout-deps-paths], :source-paths (/Users/andy/repos/learnclojure/src), :eval-in :subprocess, :repositories [[central {:url https://repo1.maven.org/maven2/, :snapshots false}] [clojars {:url https://clojars.org/repo/}]], :test-paths (/Users/andy/repos/learnclojure/test), :target-path /Users/andy/repos/learnclojure/target, :prep-tasks [javac compile], :native-path /Users/andy/repos/learnclojure/target/native, :offline? false, :root /Users/andy/repos/learnclojure, :pedantic? ranges, :clean-targets [:target-path], :plugins [], :url http://example.com/FIXME, :plugin-repositories [[central {:url https://repo1.maven.org/maven2/, :snapshots false}] [clojars {:url https://clojars.org/repo/}]], :version 0.1.0-SNAPSHOT, :jar-exclusions [#"^\."], :global-vars {}, :uberjar-exclusions [#"(?i)^META-INF/[^/]*\.(SF|RSA|DSA)$"], :jvm-opts [], :dependencies ([org.clojure/clojure 1.10.1] [org.clojure/tools.nrepl 0.2.10 :exclusions ([org.clojure/clojure])] [clojure-complete/clojure-complete 0.2.3 :exclusions ([org.clojure/clojure])]), :release-tasks [[vcs assert-committed] [change version leiningen.release/bump-version release] [vcs commit] [vcs tag] [deploy] [change version leiningen.release/bump-version] [vcs commit] [vcs push]], :repl-options {:init-ns learnclojure.core}, :test-selectors {:default (constantly true)}})})}, :test-selectors {:default (constantly true)}}
Error loading lighttable.nrepl.handler: Syntax error macroexpanding clojure.core/ns at (cljs/source_map/base64_vlq.clj:1:1).
Syntax error compiling var at (/private/var/folders/zh/t570wr_57nl6hh6h5vxf4xt40000gp/T/form-init8160684315022208854.clj:1:4766).
Unable to resolve var: lighttable.nrepl.handler/lighttable-ops in this context

Full report at:
/var/folders/zh/t570wr_57nl6hh6h5vxf4xt40000gp/T/clojure-3280733293606564381.edn
clojure.lang.ExceptionInfo: Subprocess failed {:exit-code 1}
@prertik prertik transferred this issue from LightTable/LightTable Jul 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants