Skip to content

Windows Latest LTS Version: 14.17.0 .msi installer does not clear/ upgrade existing npm version #38940

Closed
@febytanzil

Description

@febytanzil

I had node v12 and npm v6.9.2 & wanted to upgrade node to v14.

I tried 2 options:

  • just ran the installer and hoping it would upgrade the npm, didn't work
  • uninstalled node and hoping it's fresh installation for node v14 with npm v6.14.x, didn't work

output:

  • npm version was still v6.9.2 which didn't support node v14 and asked to run npm rebuild something
  • googled and found not working solution which is run npm install -g npm
    both have deadlock output, current npm doesn't support node v14 hence can't run both commands

what I had to do manually for fresh installation:

  • uninstall previous node.js
  • go to C:\Users\Username\AppData\Roaming and delete manually npm & npm-cache folder
  • run the msi 14.17.0 again, then it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.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