juxt / edge

A Clojure application foundation from JUXT
https://juxt.pro/edge/
MIT License
503 stars 62 forks source link

Cannot run tutorial.vent after following the tutorial #133

Closed hikrr closed 3 years ago

hikrr commented 3 years ago

After entering (go) in the rebl repl (following instructions from https://github.com/juxt/edge/tree/master/examples/tutorial.vent), I got this

dev=> (go)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by clojure.lang.InjectedInvoker/0x0000000840062040 (file:/home/ee904/.m2/repository/org/clojure/clojure/1.10.1/clojure-1.10.1.jar) to method com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(org.xml.sax.InputSource,org.xml.sax.HandlerBase)
WARNING: Please consider reporting this to the maintainers of clojure.lang.InjectedInvoker/0x0000000840062040
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
21:17:22.772 WARN  figwheel.logg [main]
Compile Exception   /home/ee904/.gitlibs/libs/juxt/kick.alpha/06063beadfa72dfe23480727c347976b608e8316/src/juxt/kick/alpha/providers/figwheel/injector.cljs   line:6  column:6

  No such namespace: figwheel.client, could not locate figwheel/client.cljs, figwheel/client.cljc, or JavaScript source providing "figwheel.client" in file /home/ee904/.gitlibs/libs/juxt/kick.alpha/06063beadfa72dfe23480727c347976b608e8316/src/juxt/kick/alpha/providers/figwheel/injector.cljs

   1  ;; Copyright © 2018, JUXT LTD.
   2
   3  (ns juxt.kick.alpha.providers.figwheel.injector
   4    "Adds support for html file reloading to figwheel"
   5    (:require
   6      [figwheel.client :as fig]))
           ^---
   7
   8  (fig/add-message-watch
   9    :html-watcher
  10    (fn [{:keys [msg-name] :as msg}]
  11      (when (= msg-name :html-files-changed)

21:17:22.772 WARN  figwheel.logg [main]
Compile Exception   /home/ee904/.gitlibs/libs/juxt/kick.alpha/06063beadfa72dfe23480727c347976b608e8316/src/juxt/kick/alpha/providers/figwheel/injector.cljs   line:6  column:6

  No such namespace: figwheel.client, could not locate figwheel/client.cljs, figwheel/client.cljc, or JavaScript source providing "figwheel.client" in file /home/ee904/.gitlibs/libs/juxt/kick.alpha/06063beadfa72dfe23480727c347976b608e8316/src/juxt/kick/alpha/providers/figwheel/injector.cljs

   1  ;; Copyright © 2018, JUXT LTD.
   2
   3  (ns juxt.kick.alpha.providers.figwheel.injector
   4    "Adds support for html file reloading to figwheel"
   5    (:require
   6      [figwheel.client :as fig]))
           ^---
   7
   8  (fig/add-message-watch
   9    :html-watcher
  10    (fn [{:keys [msg-name] :as msg}]
  11      (when (= msg-name :html-files-changed)

21:17:22.772 ERROR figwheel.logg [main]
clojure.lang.ExceptionInfo: No such namespace: figwheel.client, could not locate figwheel/client.cljs, figwheel/client.cljc, or JavaScript source providing "figwheel.client" in file /home/ee904/.gitlibs/libs/juxt/kick.alpha/06063beadfa72dfe23480727c347976b608e8316/src/juxt/kick/alpha/providers/figwheel/injector.cljs
21:17:22.772 ERROR figwheel.logg [main]
clojure.lang.ExceptionInfo: No such namespace: figwheel.client, could not locate figwheel/client.cljs, figwheel/client.cljc, or JavaScript source providing "figwheel.client" in file /home/ee904/.gitlibs/libs/juxt/kick.alpha/06063beadfa72dfe23480727c347976b608e8316/src/juxt/kick/alpha/providers/figwheel/injector.cljs
JavaScript environment will not launch automatically when :open-url is false
[Edge] Website listening on: http://localhost:3000
[Edge] Now make code changes, then enter (reset) here
:initiated

Also cd edge/tutorial.vent in the README.adoc should be cd edge/examples/tutorial.vent

SevereOverfl0w commented 3 years ago

Fixed! Thanks for reporting, it helps makes the tutorial better for everyone!