Giter Club home page Giter Club logo

Comments (7)

akond avatar akond commented on May 26, 2024

Wrong call.

from manifold-cljs.

akond avatar akond commented on May 26, 2024

i'm getting this error

executor.cljs:24 Uncaught TypeError: process.nextTick is not a function
    at Object.manifold_cljs$executor$Executor$execute$arity$2 (executor.cljs:24)
    at manifold_cljs$executor$execute (executor.cljs:6)
    at core.cljs:13

in both ff and chromium, because they have process, but there is no such a method in it.

from manifold-cljs.

dm3 avatar dm3 commented on May 26, 2024

Hm, looks like something changed with the way node? function detects whether javascript is running in Node vs a browser environment. See https://github.com/dm3/manifold-cljs/blob/master/src/manifold_cljs/executor.cljs#L23. This is probably related to changes in CLJS - I haven't touched Manifold-Cljs in a very long time.

Would be great if you could check what's the appropriate way to detect Node/Browser target in the current version of Cljs.

from manifold-cljs.

akond avatar akond commented on May 26, 2024

i believe it is a shim that gets in the way.

from manifold-cljs.

p-himik avatar p-himik commented on May 26, 2024

node? needs to change. *target* was removed quite some time ago: https://github.com/clojure/clojurescript/blob/master/changes.md#changes-26

Sorry for the noise. It's defined in a different way, but it still can be used just as cljs.core/*target*.

from manifold-cljs.

akond avatar akond commented on May 26, 2024

ok, i used [manifold-cljs "0.1.7-0"] when it should have been [manifold-cljs "0.1.7-1"].
README file needs some updating.

from manifold-cljs.

dm3 avatar dm3 commented on May 26, 2024

updated

from manifold-cljs.

Related Issues (3)

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.