GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — npm install is unbelievably slow, fails in certain environments · Issue #54 · nodejs/node

npm install is unbelievably slow, fails in certain environments #54

New issue
Copy link
New issue
Copy link
Closed
Closed
npm install is unbelievably slow, fails in certain environments#54
solebox/node
#24
(+9)
Copy link

Description

@jmonster
jmonster
opened on Dec 4, 2014
Issue body actions

tl;dr something is up with npm and https.

I'm attempting to compose an iojs heroku buildpack :) but I'm encountering some interesting behavior.

  1. On my local machine:
    I've built iojs and then, using the bundled version of npm, attempt to install an arbitrary module -- request. It takes a very very long time (minutes!) but it completes.
  2. On a Heroku dyno:
    Ditto the above, but after a very long time, I get the following error(s)
155 info retry will retry, error on last attempt: Error: Hostname/IP doesn't match certificate's altnames: "Host: registry.npmjs.org. is not in the cert's altnames: DNS:npmjs.orgDNS:registry.npmjs.orgDNS:www.npmjs.org"

It gets more interesting. I've done the following, /iojs/bin/npm config set registry http://registry.npmjs.org/ and then npm install completes very quickly -- both locally and on Heroku. I've then explicitly set the registry to https on Heroku and ran npm install again -- no errors about Hostname/IP mismatch this time, but it takes a very long time for the installation command to complete.

Any insight or suggestions appreciated!

Activity

  1. rlidwka commented on Dec 4, 2014

    @rlidwka
    rlidwka
    on Dec 4, 2014
    Contributor
    More actions

    I believe it should be asked here:
    https://github.com/npm/npm

  2. jmonster commented on Dec 4, 2014

    @jmonster
    jmonster
    on Dec 4, 2014
    Author
    More actions

    I considered that but since the same version of npm doesn't seem to have a problem on other versions of node I thought it may be applicable here.

  3. indutny commented on Dec 8, 2014

    @indutny
    indutny
    on Dec 8, 2014
    Member
    More actions

    Duplicate of #105

  4. indutny
    closed this as completedon Dec 8, 2014
  5. targos
    added 2 commits that reference this issue on Apr 27, 2021

    deps: V8: cherry-pick 412ac52d8246

    ca4c625

    deps: V8: cherry-pick 412ac52d8246

    931d31a
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.