Fork me on GitHub
Ryan Khetlyr23:11:55

Having trouble getting krell up and running on windows but maybe someone can check these errors for me? I got AwesomeProject running with metro and an emulator, but when I take the next steps from and run

clj -M -m cljs.main --install-deps
the result is:

Ryan Khetlyr23:11:50

PS D:\ReactNative\AwesomeProject> clj -M -m cljs.main --install-deps npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! [email protected]"16.13.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer [email protected]"17.0.2" from [email protected] npm ERR! node_modules/react-native npm ERR! [email protected]"0.66.3" from the root project npm ERR! peer [email protected]">=0.60.0" from [email protected] npm ERR! node_modules/react-native-tcp-socket npm ERR! [email protected]"5.2.0" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Ryan Khetlyr23:11:01

I tried the other suggestion:

Ryan Khetlyr23:11:31

PS D:\ReactNative\AwesomeProject> clj -M -m cljs.main -co "{:deps-cmd "yarn"}" --install-deps Execution error (ArrayStoreException) at java.lang.ProcessBuilder/start (

Ryan Khetlyr23:11:11

with the following report:

Ryan Khetlyr23:11:14

{:clojure.main/message "Execution error (ArrayStoreException) at java.lang.ProcessBuilder/start (\r\nclojure.lang.Symbol\r\n", :clojure.main/triage {:clojure.error/class java.lang.ArrayStoreException, :clojure.error/line 1087, :clojure.error/cause "clojure.lang.Symbol", :clojure.error/symbol java.lang.ProcessBuilder/start, :clojure.error/source "", :clojure.error/phase :execution}, :clojure.main/trace {:via [{:type java.lang.ArrayStoreException, :message "clojure.lang.Symbol", :at [clojure.lang.RT seqToPassedArray "" 1741]}], :trace [[clojure.lang.RT seqToPassedArray "" 1741] [clojure.lang.APersistentVector toArray "" 407] [java.lang.ProcessBuilder start "" 1087] [java.lang.ProcessBuilder start "" 1073] [cljs.closure$maybe_install_node_deps_BANG_ invokeStatic "closure.clj" 2615] [cljs.closure$maybe_install_node_deps_BANG_ invoke "closure.clj" 2603] [cljs.cli$install_deps_opt invokeStatic "cli.clj" 479] [cljs.cli$install_deps_opt invoke "cli.clj" 477] [cljs.cli$main invokeStatic "cli.clj" 703] [cljs.cli$main doInvoke "cli.clj" 692] [clojure.lang.RestFn applyTo "" 139] [clojure.core$apply invokeStatic "core.clj" 669] [clojure.core$apply invoke "core.clj" 662] [cljs.main$_main invokeStatic "main.clj" 65] [cljs.main$_main doInvoke "main.clj" 56] [clojure.lang.RestFn applyTo "" 137] [clojure.lang.Var applyTo "" 705] [clojure.core$apply invokeStatic "core.clj" 667] [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 "" 137] [clojure.lang.Var applyTo "" 705] [clojure.main main "" 40]], :cause "clojure.lang.Symbol"}}

Ryan Khetlyr23:11:14

any suggestions are appreciated - here are the versions I'm running: yarn 1.22.15, node v14.18.1, Clojure CLI version, java 17.0.1 2021-10-19 LTS