Installation Errors

Solved Technical Support
  • Hey guys,

    I'm in the middle of getting nodebb installed, but I'm receiving an error that I'm unsure how to fix:

        npm http 200 https://registry.npmjs.org/project-honeypot/-/project-honeypot-0.0.0.tgz
        npm http 200 https://registry.npmjs.org/akismet/-/akismet-0.0.13.tgz
        npm ERR! git clone git://github.com/wzrdtales/simple-recaptcha.git Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-wzrdtales-simple-recaptcha-git-1a41fa12'...
        npm ERR! git clone git://github.com/wzrdtales/simple-recaptcha.git fatal: unable to connect to github.com:
        npm ERR! git clone git://github.com/wzrdtales/simple-recaptcha.git github.com[0: 192.30.252.130]: errno=Connection timed out
        npm ERR! Error: Command failed: Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-wzrdtales-simple-recaptcha-git-1a41fa12'...
        npm ERR! fatal: unable to connect to github.com:
        npm ERR! github.com[0: 192.30.252.130]: errno=Connection timed out
        npm ERR!
        npm ERR!
        npm ERR!     at ChildProcess.exithandler (child_process.js:637:15)
        npm ERR!     at ChildProcess.EventEmitter.emit (events.js:98:17)
        npm ERR!     at maybeClose (child_process.js:743:16)
        npm ERR!     at Socket.<anonymous> (child_process.js:956:11)
        npm ERR!     at Socket.EventEmitter.emit (events.js:95:17)
        npm ERR!     at Pipe.close (net.js:466:12)
        npm ERR! If you need help, you may report this log at:
        npm ERR!     <http://github.com/isaacs/npm/issues>
        npm ERR! or email it to:
        npm ERR!     <[email protected]>
    
        npm ERR! System Linux 3.13.0-042stab108.2
        npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production"
        npm ERR! cwd /root/nodebb
        npm ERR! node -v v0.10.25
        npm ERR! npm -v 1.3.10
        npm ERR! code 128
        npm ERR!
        npm ERR! Additional logging details can be found in:
        npm ERR!     /root/nodebb/npm-debug.log
        npm ERR! not ok code 0
    

    Can anyone shed some light on a solution?

  • I managed to fix this and thought I would post this here for posterity.

    I edited the file npm-shrinkwrap.json

    and replaced the code block on line 1159:

        "simple-recaptcha": {
          "version": "1.0.0",
          "from": "git://github.com/wzrdtales/simple-recaptcha.git#f408725106872df696436ff6a988923539ab80a6",
          "resolved": "git://github.com/wzrdtales/simple-recaptcha.git#f408725106872df696436ff6a988923539ab80a6"
        }
    

    with:

        "simple-recaptcha": {
          "version": "1.0.0",
          "from": "https://github.com/wzrdtales/simple-recaptcha/archive/v1.0.0.tar.gz",
          "resolved": "https://github.com/wzrdtales/simple-recaptcha/archive/v1.0.0.tar.gz"
        }
    


Suggested Topics


| | | |