Skip to content

npm@2.7.4 fails to install private git repository dependencies #1323

Description

@imyller

npm 2.7.4 included with io.js 1.6.3 fails to install dependencies from private git repositories such as:

"private": "git+ssh://git@github.com:org/private"

Error:

npm ERR! Cannot read property 'charAt' of undefined 

For more information see npm/npm#7807

Activity

  1. Fishrock123 commented on Apr 2, 2015

    @Fishrock123
    Contributor

    Noted, thanks. We'll try to get a 1.6.4 out when npm is updated with the fix here.

  2. changed the title [-]npm fails to install private git repository dependencies[/-] [+]npm@2.7.4 fails to install private git repository dependencies[/+] on Apr 2, 2015
  3. othiym23 commented on Apr 3, 2015

    @othiym23
    Contributor

    npm@2.7.5 has a fix for this, but comes with an ugly and misleading error message when cloning private GitHub repositories. npm@2.7.6 has all the fixes, but should probably be allowed to bake for a week so people have a chance to make sure that I've finally gotten all the git cheese-moving complete and correct. I'm really sorry for all this churn around git, and all I can say is that this is part of a long-term investment to make npm's git integration more consistent and robust, at the cost of some short-term pain.

  4. Fishrock123 commented on Apr 3, 2015

    @Fishrock123
    Contributor

    @imyller If you have time, could apply #1337 to help verify?

    https://github.com/iojs/io.js/pull/1337.patch

  5. Fishrock123 commented on Apr 6, 2015

    @Fishrock123
    Contributor

    Fixed in v1.6.4 as of 5eb983e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues and PRs for confirmed bugs.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions