Giter Site home page Giter Site logo

Comments (4)

vemonet avatar vemonet commented on June 22, 2024

Here is the yarn global add output:

yarn global add sparqljs
yarn global v1.22.18
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

warning Your current version of Yarn is out of date. The latest version is "1.22.19", while you're on "1.22.18".
success Installed "[email protected]" with binaries:
      - sparqljs
Done in 0.92s.

It clearly shows that the bin installed has sparqljs as name (which would be the practical and non ambiguous choice, much better that needing to know that the CLI name is different that the package name...)

And it's different than what was defined in the package.json... https://github.com/RubenVerborgh/SPARQL.js/blob/main/package.json#L21

from sparql.js.

RubenVerborgh avatar RubenVerborgh commented on June 22, 2024

The global executable is indeed named sparqljs, so the README is wrong.

but it get stuck when trying to run it obviously

It should work though?

from sparql.js.

vemonet avatar vemonet commented on June 22, 2024

Yes, it only get stuck when no argument are provided

from sparql.js.

RubenVerborgh avatar RubenVerborgh commented on June 22, 2024

It's not stuck, it's expecting input from STDIN. I.e., type your query and finish with Ctrl+D 🙂

from sparql.js.

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.