Skip to content

nodejs LTS v6.10.2 Windows installs give npm version 1.4.2 instead of 3.10.10 #12237

Closed

Description

@dennis-bicker

I have tried uninstalling and installing nodejs LTS v6.10.2 on Windows multiple ways but I keep getting ((npm version 1.4.3)), even though it says it should be 3.10.10.
I have used the Windows installer (.msi), trying both 32 bit and 64 bit (my machine is 64 bit).
I have also tried installing using the Windows binary (.zip).
I have not tried the build (because of its additional requirements).
"NPM -VERSION" reports 1.4.3.
"Where NPM" reports the correctly installed location as "C:\Program Files (x86)\nodejs\npm.cmd" after the 32 bit install and "C:\Program Files\nodejs\npm.cmd" after the 64 bit install.

Activity

  1. added
    installIssues and PRs related to installing Node.js and its installers.
    windowsIssues and PRs related to the Windows platform.
    npmIssues and PRs related to the npm client dependency or the npm registry.
    on Apr 5, 2017
  2. dennis-bicker commented on Apr 6, 2017

    @dennis-bicker
    Author

    I found it.

    The .npmrc file (in c:\users{userid}) contained a PREFIX line pointing at an older version of node/npm in a Rational Application Developer (Eclipse) environment. And it was surviving my uninstall/reinstall .

    Once I deleted the line, then I started getting the new version.

    prefix = C:\Program Files\IBM\SDP\cordova_cli

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

    installIssues and PRs related to installing Node.js and its installers.npmIssues and PRs related to the npm client dependency or the npm registry.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions