Coder Social home page Coder Social logo

build error about kabel HOT 2 CLOSED

guruma avatar guruma commented on August 30, 2024
build error

from kabel.

Comments (2)

guruma avatar guruma commented on August 30, 2024

The bug is resolved by my fix which is attached below as a patch. I hope it helps:

guruma@mac kabel (master) $ git diff > patch
guruma@mac kabel (master) $ cat patch
diff --git a/src/kabel/middleware/wamp.cljc b/src/kabel/middleware/wamp.cljc
index 15c75c4..8a4119e 100644
--- a/src/kabel/middleware/wamp.cljc
+++ b/src/kabel/middleware/wamp.cljc
@@ -1,8 +1,10 @@
 (ns kabel.middleware.wamp
   "This is an experimental wamp client middleware."
   (:require
-   [clojure.core.async :refer [timeout go go-loop <! >! >!! put! chan]
-    :as async]
+   #?(:clj [clojure.core.async :as async
+            :refer [timeout go go-loop <! >! >!! put! chan]]
+      :cljs [cljs.core.async :as async
+             :refer [timetout chan]])
    #?(:clj [kabel.platform-log :refer [debug]])
    [superv.async :refer [<?? go-try S go-loop-try <? >? put?]])
   #?(:cljs (:require-macros [superv.async :refer [go-try <? >? put? go-loop-try S]]
@@ -85,4 +87,3 @@
                    (event-fn e)
                    (recur (<? S event-ch))))
     [S peer [new-in new-out]]))
-

from kabel.

whilo avatar whilo commented on August 30, 2024

Thanks a lot. Feel free to open pull-requests instead of pasting patches, if you don't mind. 👍

from kabel.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.