Code Monkey home page Code Monkey logo

Comments (4)

planemad avatar planemad commented on June 18, 2024 1

@maxlath got it working with a chmod +x bin/* 👍

wd config path gives /usr/local/lib/node_modules/wikidata-cli/config.json. Also my node is installed via nvm.

from wikibase-cli.

maxlath avatar maxlath commented on June 18, 2024

hi!
We have seen those in the past, let's see were it could come from:

  • Do you have the same error when running wd props?
  • What does wd config path output? Do you have write rights on this folder?
  • Are all the files in the /usr/local/lib/node_modules/wikidata-cli marked as executables?

from wikibase-cli.

planemad avatar planemad commented on June 18, 2024
  • wd props gives the EACCES error
  • wd config path gives the EACCES error
  • Yes except index.js . I fixed this with chmod +x index.js, but still get the EACCESS error
    screen shot 2017-11-02 at 3 48 30 pm

from wikibase-cli.

maxlath avatar maxlath commented on June 18, 2024

sorry, my mistake, I meant /usr/local/lib/node_modules/wikidata-cli/bin, but the issue with wd props an wd config path hint that there is something more fundamentally wrong with the install anyway: did you try to reinstall it? I don't see how it could end up differently, but it doesn't cost much to try

Otherwise, I generally recommend to install node with nvm: in addition to giving greater control of the node version, it installs the global executables in a folder in your home folder (ex: ~/.nvm/versions/node/v8.2.1/bin/wd), thus avoiding the need to use sudo and the associated EACCESS errors

from wikibase-cli.

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.