Fork me on GitHub
Drew Verlee04:02:51

hi! Has anyone else had trouble trying the quick start ? I just ran it and it threw an expection my why when it loaded and i couldn't add todos via my browser. its late here so i will drop a more detailed issue tomorrow.

đź‘Ť 4
Drew Verlee15:02:24

Ubuntu 19.04 clj: 1.10.1 lein: 2.9.1 on Java 1.8.0_232 OpenJDK 64-Bit Server VM

lein new precept myproj
cd myproj
lein figwheel
visit client in browser and i see:
Error: No protocol method ISession.insert defined for type null: core.cljs:281:3
    cljs$core$missing_protocol core.cljs:281
    clara$rules$engine$insert engine.cljc:75
    clara$rules$insert_all rules.cljc:21
    precept$util$insert util.cljc:221
    then core.cljc:204
    switch__45891__auto__ core.cljc:78
    ret_value__45893__auto__ core.cljc:78
    precept$core$apply_changes_to_session_$_state_machine__45892__auto____1 core.js:331
    precept$core$apply_changes_to_session_$_state_machine__45892__auto__ core.js:347
    cljs$core$async$impl$ioc_helpers$run_state_machine ioc_helpers.cljs:35
    cljs$core$async$impl$ioc_helpers$run_state_machine_wrapped ioc_helpers.cljs:39
    temp__6736__auto__ ioc_helpers.cljs:48
    3 channels.cljs:61
    cljs$core$async$impl$dispatch$process_messages dispatch.cljs:19
    onmessage nexttick.js:211
    (Async: EventHandlerNonNull)
    getSetImmediateEmulator_ nexttick.js:206
    nextTick nexttick.js:81
    cljs$core$async$impl$dispatch$queue_dispatcher dispatch.cljs:29
    cljs$core$async$impl$dispatch$run dispatch.cljs:33
    precept$core$transactor core.cljc:69
    <anonymous> core.cljc:164


Interesting…let me try on my end


Appears working with

Leiningen 2.8.1 on Java 1.8.0_222 OpenJDK 64-Bit Server VM