Can't start figweel.main on other Linux-machine

59 views
Skip to first unread message

ru

unread,
Nov 28, 2023, 3:35:34 AM11/28/23
to Clojure
I moved a working project from one Linux-machine to other.
And that's what I got:

ru@ru-sitrol:~$ cd clojure/pro-figweel/
ru@ru-sitrol:~/clojure/pro-figweel$ clojure -m figweel.main -b dev -r
Downloading: com/bhauman/figwheel-main/0.2.6/figwheel-main-0.2.6.pom from clojars
Downloading: com/bhauman/rebel-readline-cljs/0.1.4/rebel-readline-cljs-0.1.4.pom from clojars
Downloading: com/bhauman/rebel-readline/0.1.4/rebel-readline-0.1.4.pom from clojars
Downloading: com/bhauman/cljs-test-display/0.1.1/cljs-test-display-0.1.1.pom from clojars
Downloading: com/bhauman/figwheel-repl/0.2.6/figwheel-repl-0.2.6.pom from clojars
Downloading: com/bhauman/figwheel-core/0.2.6/figwheel-core-0.2.6.pom from clojars
Downloading: com/bhauman/spell-spec/0.1.1/spell-spec-0.1.1.pom from clojars
Downloading: com/bhauman/cljs-test-display/0.1.1/cljs-test-display-0.1.1.jar from clojars
Downloading: com/bhauman/figwheel-repl/0.2.6/figwheel-repl-0.2.6.jar from clojars
Downloading: com/bhauman/rebel-readline/0.1.4/rebel-readline-0.1.4.jar from clojars
Downloading: com/bhauman/spell-spec/0.1.1/spell-spec-0.1.1.jar from clojars
Downloading: com/bhauman/figwheel-main/0.2.6/figwheel-main-0.2.6.jar from clojars
Downloading: com/bhauman/figwheel-core/0.2.6/figwheel-core-0.2.6.jar from clojars
Downloading: com/bhauman/rebel-readline-cljs/0.1.4/rebel-readline-cljs-0.1.4.jar from clojars
WARNING: Implicit use of clojure.main with options is deprecated, use -M
Execution error (FileNotFoundException) at clojure.main/main (main.java:40).
Could not locate figweel/main__init.class, figweel/main.clj or figweel/main.cljc on classpath.

Full report at:
/tmp/clojure-5895329516753450693.edn
ru@ru-sitrol:~/clojure/pro-figweel$ clojure -M -m figweel.main -b dev -r
Execution error (FileNotFoundException) at clojure.main/main (main.java:40).
Could not locate figweel/main__init.class, figweel/main.clj or figweel/main.cljc on classpath.

Full report at:
/tmp/clojure-8264509519616120954.edn
ru@ru-sitrol:~/clojure/pro-figweel$

Full report is:
{:clojure.main/message
 "Execution error (FileNotFoundException) at clojure.main/main (main.java:40).\nCould not locate figweel/main__init.class, figweel/main.clj or figweel/main.cljc on classpath.\n",
 :clojure.main/triage
 {:clojure.error/class java.io.FileNotFoundException,
  :clojure.error/line 40,
  :clojure.error/cause
  "Could not locate figweel/main__init.class, figweel/main.clj or figweel/main.cljc on classpath.",
  :clojure.error/symbol clojure.main/main,
  :clojure.error/source "main.java",
  :clojure.error/phase :execution},
 :clojure.main/trace
 {:via
  [{:type java.io.FileNotFoundException,
    :message
    "Could not locate figweel/main__init.class, figweel/main.clj or figweel/main.cljc on classpath.",
    :at [clojure.lang.RT load "RT.java" 462]}],
  :trace
  [[clojure.lang.RT load "RT.java" 462]
   [clojure.lang.RT load "RT.java" 424]
   [clojure.core$load$fn__6908 invoke "core.clj" 6161]
   [clojure.core$load invokeStatic "core.clj" 6160]
   [clojure.core$load doInvoke "core.clj" 6144]
   [clojure.lang.RestFn invoke "RestFn.java" 408]
   [clojure.core$load_one invokeStatic "core.clj" 5933]
   [clojure.core$load_one invoke "core.clj" 5928]
   [clojure.core$load_lib$fn__6850 invoke "core.clj" 5975]
   [clojure.core$load_lib invokeStatic "core.clj" 5974]
   [clojure.core$load_lib doInvoke "core.clj" 5953]
   [clojure.lang.RestFn applyTo "RestFn.java" 142]
   [clojure.core$apply invokeStatic "core.clj" 669]
   [clojure.core$load_libs invokeStatic "core.clj" 6016]
   [clojure.core$load_libs doInvoke "core.clj" 6000]
   [clojure.lang.RestFn applyTo "RestFn.java" 137]
   [clojure.core$apply invokeStatic "core.clj" 669]
   [clojure.core$require invokeStatic "core.clj" 6038]
   [clojure.main$main_opt invokeStatic "main.clj" 514]
   [clojure.main$main_opt invoke "main.clj" 510]
   [clojure.main$main invokeStatic "main.clj" 664]
   [clojure.main$main doInvoke "main.clj" 616]
   [clojure.lang.RestFn applyTo "RestFn.java" 137]
   [clojure.lang.Var applyTo "Var.java" 705]
   [clojure.main main "main.java" 40]],
  :cause
  "Could not locate figweel/main__init.class, figweel/main.clj or figweel/main.cljc on classpath."}}

, same as previous.
  

What can be reason of this?
Any help would be greatly appreciated.

Sincerely,
  Ru

Gary Johnson

unread,
Nov 28, 2023, 6:37:23 PM11/28/23
to clo...@googlegroups.com
ru <zspove...@gmail.com> writes:

> I moved a working project from one Linux-machine to other.
> And that's what I got:
>
> ru@ru-sitrol:~$ cd clojure/pro-figweel/
> ru@ru-sitrol:~/clojure/pro-figweel$ clojure -m figweel.main -b dev -r

8<-------------------------------------------------->8

Downloading from clojars and error messages elided

8<-------------------------------------------------->8

> "Could not locate figweel/main__init.class, figweel/main.clj or
> figweel/main.cljc on classpath."}}
>
>
> What can be reason of this?
> Any help would be greatly appreciated.
>
> Sincerely,
> Ru

Hi Ru,

You are the victim of a typo, I'm afraid. You forgot the "h" in
"figwheel". The correct command should be:

```
ru@ru-sitrol:~/clojure/pro-figweel$ clojure -m figwheel.main -b dev -r
```

Have fun and happy hacking!
Gary

--
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambda...@gmail.com' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

ru

unread,
Dec 7, 2023, 2:43:42 PM12/7/23
to Clojure
Thank you, Gary! Sorry, my inadvertency.

среда, 29 ноября 2023 г. в 02:37:23 UTC+3, Gary Johnson:
Reply all
Reply to author
Forward
0 new messages