Git Product home page Git Product logo

git-issues's Issues

Error: Cannot find module '/usr/bin/lib/node_modules/git-issues/index.js'

I installed this normally via npm sudo npm install -g git-issues and spits this error when I try to use it in a git project directory.

Centos 7
npm 1.3.6
node 0.10.36

$ git issues

module.js:340
    throw err;
          ^
Error: Cannot find module '/usr/bin/lib/node_modules/git-issues/index.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3
$ sudo find -iname git-issues
./root/.npm/git-issues
./root/.npm/git-issues/0.7.0/package/bin/git-issues
./usr/bin/git-issues
./usr/lib/node_modules/git-issues
./usr/lib/node_modules/git-issues/bin/git-issues

"Authentication failed" error

I run the following command inside of git-issues repository folder, and I get the following error:

$ git issues
Authentication failed

I didn't debug the problem.

Sort order?

Just noticed incorrect sorting order for some repos, for example

./node_modules/.bin/git-issues -r https://github.com/bahmutov/xplain

shows the following (just a couple shown here)

┌──┬────────────────┬─────────────────────────────────────────────────────────┬────────┐
│# │Label(s)        │Title                                                    │Status  │
├──┼────────────────┼─────────────────────────────────────────────────────────┼────────┤
│25│bug,minor       │Does not transform condition correctly                   │OPEN    │
├──┼────────────────┼─────────────────────────────────────────────────────────┼────────┤
│5 │minor,quality   │refactor methodDiv                                       │OPEN    │
├──┼────────────────┼─────────────────────────────────────────────────────────┼────────┤
│23│bug             │Removes code blocks in markdown unless then are separated│OPEN    │
├──┼────────────────┼─────────────────────────────────────────────────────────┼────────┤
│30│quality         │Make smaller published npm package                       │OPEN    │
├──┼────────────────┼─────────────────────────────────────────────────────────┼────────┤
│27│enhancement     │Process code blocks that use ` ```js ` notation          │OPEN    │
├──┼────────────────┼─────────────────────────────────────────────────────────┼────────┤

basically the ids are 25,5,23, ...

Cannot read property '2' of null

$ git issues -u IonicaBizau

/usr/lib/node_modules/git-issues1/index.js:196
        source: match[2].toLowerCase(),
                     ^
TypeError: Cannot read property '2' of null
    at extractSONFromFromUrl (/usr/lib/node_modules/git-issues1/index.js:196:22)
    at Object.<anonymous> (/usr/lib/node_modules/git-issues1/index.js:80:11)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3

Cache user & password or access token into a file

It would be so good if the user and password were cached into a json config file.
I imagine the following scenario.

A file named ~/.git-issues-config.json that contains:

{
    "username": "..."
  , "password": "..."
}

or

{
    "accessToken": "..."
}

...where access token can be generated here.

bash: !...: event not found

My password contains "!".

If I run:

$ git issues -u IonicaBizau -p !dummy

I get an error:

bash: !dummy: event not found

Display labels

would be nice to show labels in addition to number / subject / status

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.