Giter Site home page Giter Site logo

Comments (5)

djblue avatar djblue commented on August 16, 2024

Hi @thecontinium, what version of portal are you working with? portal.api/submit was added as part of 0.9.0.

from portal.

thecontinium avatar thecontinium commented on August 16, 2024

Hi @djblue, I am using the LATEST version. If I lein repl rather than lean repl :connect 12345 it works fine.

from portal.

djblue avatar djblue commented on August 16, 2024

What does the project you are connecting to via lein repl :connect 12345 look like? I tried ./examples/jvm/ with latest portal and lein and can't reproduce.

from portal.

thecontinium avatar thecontinium commented on August 16, 2024

It's connecting to an nrepl server running inside a docker container where ports 12345 and 12346 are mapped to the host machine and started with

(start-server :bind "0.0.0.0" :port 12345)

After connecting this works

(require '[portal.api :as p]) (p/start {:portal.launcher/port 12346})(p/open)(p/tap)

(I have to paste the portal server url output on startup into chrome manually on the host machine)

Using (add-tap #'p/submit) instead of (p/tap) throws the exception.

The same project just starting a repl on the host with lein repl works with

(require '[portal.api :as p]) (p/open) (add-tap #'p/submit)

from portal.

djblue avatar djblue commented on August 16, 2024

Since I wasn't able to reproduce, closing for now.

from portal.

Related Issues (20)

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.