Skip to content

[BUG] <NPM install not downloading any package from NPM registry> #4011

Closed
@NoobletBilal

Description

@NoobletBilal

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

NPM install is not pulling any repositry from npm repositories. There SSL routine error for Bad signature. NPM debug logs are as below.
nfo it worked if it ends with ok
erbose cli [ 'C:\Program Files\nodejs\node.exe',
erbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
erbose cli 'install',
erbose cli '-g',
erbose cli 'gulp' ]
nfo using npm@3.10.9
nfo using node@v6.9.2
illy loadCurrentTree Starting
illy install loadCurrentTree
illy install readGlobalPackageData
illy fetchPackageMetaData gulp
illy fetchNamedPackageData gulp
illy mapToRegistry name gulp
silly mapToRegistry using default registry
silly mapToRegistry registry https://registry.npmjs.org/
silly mapToRegistry data Result {
silly mapToRegistry raw: 'gulp',
silly mapToRegistry scope: null,
silly mapToRegistry escapedName: 'gulp',
silly mapToRegistry name: 'gulp',
silly mapToRegistry rawSpec: '',
silly mapToRegistry spec: 'latest',
silly mapToRegistry type: 'tag' }
silly mapToRegistry uri https://registry.npmjs.org/gulp
verbose request uri https://registry.npmjs.org/gulp
verbose request no auth needed
info attempt registry request try #1 at 6:43:33 PM
verbose request id 91d9fe34d468ef4f
http request GET https://registry.npmjs.org/gulp
info retry will retry, error on last attempt: Error: write EPROTO 101057795:error:1408D07B:SSL routines:ssl3_get_key_exchange:bad signature:openssl\ssl\s3_clnt.c:2010:
info attempt registry request try #2 at 6:43:47 PM
http request GET https://registry.npmjs.org/gulp
info retry will retry, error on last attempt: Error: write EPROTO 101057795:error:1408D07B:SSL routines:ssl3_get_key_exchange:bad signature:openssl\ssl\s3_clnt.c:2010:
info attempt registry request try #3 at 6:44:48 PM
http request GET https://registry.npmjs.org/gulp
silly fetchPackageMetaData Error: write EPROTO 101057795:error:1408D07B:SSL routines:ssl3_get_key_exchange:bad signature:openssl\ssl\s3_clnt.c:2010:
silly fetchPackageMetaData
silly fetchPackageMetaData at exports._errnoException (util.js:1022:11)
silly fetchPackageMetaData at WriteWrap.afterWrite (net.js:801:14)
silly fetchPackageMetaData error for gulp { Error: write EPROTO 101057795:error:1408D07B:SSL routines:ssl3_get_key_exchange:bad signature:openssl\ssl\s3_clnt.c:2010:
silly fetchPackageMetaData
silly fetchPackageMetaData at exports._errnoException (util.js:1022:11)
silly fetchPackageMetaData at WriteWrap.afterWrite (net.js:801:14) code: 'EPROTO', errno: 'EPROTO', syscall: 'write' }
silly rollbackFailedOptional Starting
silly rollbackFailedOptional Finishing
silly runTopLevelLifecycles Finishing
silly install printInstalled
verbose stack Error: write EPROTO 101057795:error:1408D07B:SSL routines:ssl3_get_key_exchange:bad signature:openssl\ssl\s3_clnt.c:2010:
verbose stack
verbose stack at exports._errnoException (util.js:1022:11)
verbose stack at WriteWrap.afterWrite (net.js:801:14)
verbose cwd D:
error Windows_NT 10.0.19042
error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "gulp"
error node v6.9.2
error npm v3.10.9
error code EPROTO
error errno EPROTO
error syscall write
error write EPROTO 101057795:error:1408D07B:SSL routines:ssl3_get_key_exchange:bad signature:openssl\ssl\s3_clnt.c:2010:
error If you need help, you may report this error at:
error https://github.com/npm/npm/issues
verbose exit [ 1, true ]

Expected Behavior

No response

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

  • npm: 3.10.9
  • Node: 6.9.2
  • OS: Windows 10
  • platform: HP Notebook
  • npm config:
; copy and paste output from `npm config ls` here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions