i can't install the new version of mongodb.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Trivial - P5
    • None
    • Affects Version/s: 2.1.8
    • Component/s: MongoDB 3.2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      xxx-11:node_modules Admin$ sudo npm install mongodb

      npm ERR! git clone --template=/Users/Admin/.npm/_git-remotes/_templates --mirror git@github.com:node_modules/mongodb.git /Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765: Cloning into bare repository '/Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765'...
      npm ERR! git clone --template=/Users/Admin/.npm/_git-remotes/_templates --mirror git@github.com:node_modules/mongodb.git /Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765: Warning: Permanently added the RSA host key for IP address '192.30.252.121' to the list of known hosts.
      npm ERR! git clone --template=/Users/Admin/.npm/_git-remotes/_templates --mirror git@github.com:node_modules/mongodb.git /Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765: Permission denied (publickey).
      npm ERR! git clone --template=/Users/Admin/.npm/_git-remotes/_templates --mirror git@github.com:node_modules/mongodb.git /Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765: fatal: Could not read from remote repository.
      npm ERR! git clone --template=/Users/Admin/.npm/_git-remotes/_templates --mirror git@github.com:node_modules/mongodb.git /Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765:
      npm ERR! git clone --template=/Users/Admin/.npm/_git-remotes/_templates --mirror git@github.com:node_modules/mongodb.git /Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765: Please make sure you have the correct access rights
      npm ERR! git clone --template=/Users/Admin/.npm/_git-remotes/_templates --mirror git@github.com:node_modules/mongodb.git /Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765: and the repository exists.
      npm ERR! Darwin 14.0.0
      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "mongodb"
      npm ERR! node v4.2.2
      npm ERR! npm v2.14.11
      npm ERR! code 128

      npm ERR! Command failed: git clone --template=/Users/Admin/.npm/_git-remotes/_templates --mirror git@github.com:node_modules/mongodb.git /Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765
      npm ERR! Cloning into bare repository '/Users/Admin/.npm/_git-remotes/git-github-com-node-modules-mongodb-git-e2750765'...
      npm ERR! Warning: Permanently added the RSA host key for IP address '192.30.252.121' to the list of known hosts.
      npm ERR! Permission denied (publickey).
      npm ERR! fatal: Could not read from remote repository.
      npm ERR!
      npm ERR! Please make sure you have the correct access rights
      npm ERR! and the repository exists.
      npm ERR!
      npm ERR!
      npm ERR! If you need help, you may report this error at:
      npm ERR! <https://github.com/npm/npm/issues>

      npm ERR! Please include the following file with any support request:
      npm ERR! /Users/Admin/www/chikchaak/public_html/server/node_modules/npm-debug.log

            Assignee:
            Christian Amor Kvalheim
            Reporter:
            roy sabah [X]
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: