This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-04
Channels
- # beginners (8)
- # boot (20)
- # cider (8)
- # cljs-dev (263)
- # cljsjs (8)
- # cljsrn (20)
- # clojure (151)
- # clojure-argentina (1)
- # clojure-belgium (7)
- # clojure-dev (18)
- # clojure-italy (25)
- # clojure-spec (34)
- # clojure-uk (15)
- # clojurescript (89)
- # component (45)
- # core-async (27)
- # cursive (16)
- # datomic (53)
- # emacs (40)
- # figwheel (3)
- # hoplon (62)
- # jobs (1)
- # jobs-discuss (7)
- # luminus (8)
- # lumo (60)
- # off-topic (3)
- # parinfer (1)
- # precept (1)
- # protorepl (15)
- # re-frame (37)
- # reagent (7)
- # ring (3)
- # ring-swagger (73)
- # slack-help (1)
- # specter (19)
- # sql (4)
- # test-check (10)
- # uncomplicate (2)
- # unrepl (14)
- # untangled (52)
- # vim (5)
- # yada (42)
I am getting an error in lumo
and I feel like I've seen it before
but I can't figure out what's happening
What can I do to help?
cljs.user=> (require 'reagent.core)
Could not require cljsjs.react in file reagent/impl/util.cljs
(new)
Function.cljs.core.ex_info.cljs$core$IFn$_invoke$arity$3 (NO_SOURCE_FILE <embedded>:1937:200)
Function.cljs.analyzer.error.cljs$core$IFn$_invoke$arity$3 (NO_SOURCE_FILE <embedded>:2484:92)
(NO_SOURCE_FILE <embedded>:5237:40)
Object.cljs.js.run_async_BANG_ (NO_SOURCE_FILE <embedded>:5217:173)
Object.cljs.js.process_deps (NO_SOURCE_FILE <embedded>:5217:244)
Object.cljs.js.process_libs_deps (NO_SOURCE_FILE <embedded>:5219:60)
(NO_SOURCE_FILE <embedded>:5235:358)
Object.cljs.js.run_async_BANG_ (NO_SOURCE_FILE <embedded>:5217:173)
Object.cljs.js.process_deps (NO_SOURCE_FILE <embedded>:5217:244)
Unexpected identifier
createScript (vm.cljs:53:10)
Object.runInThisContext (vm.cljs:95:10)
(Object.lumoEval)
lumo.repl.caching_node_eval (NO_SOURCE_FILE <embedded>:6133:194)
(NO_SOURCE_FILE <embedded>:5236:153)
Object.cljs.js.run_async_BANG_ (NO_SOURCE_FILE <embedded>:5217:173)
Object.cljs.js.process_deps (NO_SOURCE_FILE <embedded>:5217:244)
Object.cljs.js.process_libs_deps (NO_SOURCE_FILE <embedded>:5219:60)
(NO_SOURCE_FILE <embedded>:5235:358)
Object.cljs.js.run_async_BANG_ (NO_SOURCE_FILE <embedded>:5217:173)
@ericnormand hrm, OK I鈥檒l need 2 things from you 1. Lumo version 2. the options you鈥檙e passing to Lumo
Lumo 1.5.0
ClojureScript 1.9.542
Node.js v7.10.0
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Exit: Control+D or :cljs/quit or exit
OK that tells me a lot already 馃檪
lumo -k . -c $cp
can you upgrade to 1.6?
I think I broke foreign libs in 1.5
oops 馃檪
I just upgraded on brew
brew should have 1.6
let me try again
brew upgrade lumo
Error: lumo HEAD-18c0f29 already installed
brew uninstall lumo && brew update && brew install lumo
thanks
馃嵑 /usr/local/Cellar/lumo/1.6.0: 6 files, 60.6MB
Erics-MacBook-Pro:klipse eric$ lumo -v
Lumo 1.5.0
ClojureScript 1.9.542
Node.js v7.10.0
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Exit: Control+D or :cljs/quit or exit
not good?
did you ever npm install -g lumo
?
maybe
npm list -g | grep lumo-cljs
ah, I see it
how do I get rid of that?
npm uninstall -g lumo-cljs
god, tooling 馃槴
I refuse to learn this stuff
it changes so fast
now how do I run it?
sorry, how do you run what?
oh.. you may have to run brew link lumo
or something
good news is I can require reagent.core
locally on 1.6.0
$ lumo -D reagent:0.7.0,cljsjs/react:15.5.4-0,cljsjs/react-dom:15.5.4-0,cljsjs/create-react-class:15.5.3-0
Lumo 1.6.0
ClojureScript 1.9.671
Node.js v8.1.3
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Exit: Control+D or :cljs/quit or exit
cljs.user=> (require 'reagent.core)
nil
cljs.user=>
Erics-MacBook-Pro:bin eric$ lumo
-bash: /Users/eric/.nvm/versions/node/v5.7.1/bin/lumo: No such file or directory
I don't know why it's looking there
path is cached
try to run brew unlink lumo && brew link lumo
too
did that
had to open a new shell
No such namespace: , could not locate cljs/java/io.cljs, cljs/java/io.cljc, or Closure namespace "" in file reagent/interop.clj
well that鈥檚 reagent鈥檚 fault 馃檪
do you need reagent.interop
?
oh hrm
you must be on an old release of reagent
try 0.7.0?
I don鈥檛 see it requiring
anymore
@ericnormand you need a version that includes this PR I guess https://github.com/reagent-project/reagent/pull/283
sorry for the painful breakage in 1.5 馃檪