Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2629

npm install -g cordova fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Windows

      Description

      doing an npm install fails on checksum of file. npm have had a look at this and say the checksum has been incorrectly calculated by the maintainer.

      npm http 304 https://registry.npmjs.org/plugman
      npm http 304 https://registry.npmjs.org/npm
      npm http GET https://registry.npmjs.org/npm/-/npm-1.3.19.tgz
      npm http 200 https://registry.npmjs.org/npm/-/npm-1.3.19.tgz
      npm ERR! Error: shasum check failed for C:\Users\Ian\AppData\Local\Temp\npm-8596-tZRlDRXi\1387273126356-0.7029272643849254\tmp.tgz
      npm ERR! Expected: dee5a33ff04d7217194dc1ad1342e3a441761942
      npm ERR! Actual: ab7d89ca1f31db14db047d01222dd968649cfb50
      npm ERR! at C:\Program Files\nodejs\node_modules\npm\node_modules\sha\index.js:38:8
      npm ERR! at ReadStream.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\sha\index.js:85:7)
      npm ERR! at ReadStream.EventEmitter.emit (events.js:117:20)
      npm ERR! at _stream_readable.js:920:16
      npm ERR! at process._tickCallback (node.js:415:13)
      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! <npm-@googlegroups.com>

      npm ERR! System Windows_NT 6.1.7601
      npm ERR! command "C:
      Program Files\\nodejs\\\\node.exe" "C:
      Program Files\\nodejs\\node_modules\\npm\\bin
      npm-cli.js" "install" "
      -g" "cordova@3.3.0-rc.1"
      npm ERR! cwd E:\development
      npm ERR! node -v v0.10.22
      npm ERR! npm -v 1.3.14
      npm ERR!
      npm ERR! Additional logging details can be found in:
      npm ERR! E:\development\npm-debug.log
      npm ERR! not ok code 0

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nimbusgb Ian Molesworth
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: