Comments (2)
Same issue occurring here. I've even uninstalled and reinstalled Node.js, same issue occurs after.
PS C:\WINDOWS\system32> npm-windows-upgrade
npm-windows-upgrade v6.0.1
? Which version do you want to install? 7.5.6
Checked system for npm installation:
According to PowerShell: C:\Program Files\nodejs
According to npm: C:\Program Files\nodejs
Decided that npm is installed in C:\Program Files\nodejs
Upgrading npm... /
Upgrading npm (fallback method)... |
You wanted to install npm 7.5.6, but the installed version is 6.14.8.
A common reason is an attempted "npm install npm" or "npm upgrade npm". As of today, the only solution is to completely uninstall and then reinstall Node.js. For a small tutorial, please see https://github.com/felixrieseberg/npm-windows-upgrade#usage.
Please consider reporting your trouble to https://aka.ms/npm-issues.
Debug Information:
node: 15.10.0 | v8: 8.6.395.17-node.25 | uv: 1.41.0 | zlib: 1.2.11 | brotli: 1.0.9 | ares: 1.17.1 | modules: 88 | nghttp2: 1.42.0 | napi: 7 | llhttp: 2.1.3 | openssl: 1.1.1j | cldr: 38.1 | icu: 68.2 | tz: 2020d | unicode: 13.0 | os: win32 x64 | OS Name: Microsoft Windows 10 Home
OS Version: 10.0.18363 N/A Build 18363
from npm-windows-upgrade.
Same here, even after uninstalling and reinstalling Node.js.
Just in case it is somehow relevant, I use NVM for Windows too.
PS C:\WINDOWS\system32> npm-windows-upgrade
npm-windows-upgrade v6.0.1
? Which version do you want to install? 7.7.5
Checked system for npm installation:
According to PowerShell: C:\Program Files\nodejs
According to npm: C:\Program Files\nodejs
Decided that npm is installed in C:\Program Files\nodejs
Upgrading npm... -
Upgrading npm (fallback method)... -
You wanted to install npm 7.7.5, but the installed version is 6.14.11.
A common reason is an attempted "npm install npm" or "npm upgrade npm". As of today, the only solution is to completely uninstall and then reinstall Node.js. For a small tutorial, please see https://github.com/felixrieseberg/npm-windows-upgrade#usage.
Please consider reporting your trouble to https://aka.ms/npm-issues.
Debug Information:
node: 14.16.0 | v8: 8.4.371.19-node.18 | uv: 1.40.0 | zlib: 1.2.11 | brotli: 1.0.9 | ares: 1.16.1 | modules: 83 | nghttp2: 1.41.0 | napi: 7 | llhttp: 2.1.3 | openssl: 1.1.1j | cldr: 37.0 | icu: 67.1 | tz: 2020a | unicode: 13.0 | os: win32 x64 | OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19042 N/A Build 19042
from npm-windows-upgrade.
Related Issues (20)
- Scope specified more than once (powershell)
- Error: spawn powershell.exe ENOENT HOT 4
- I got this error at the time of run command "ng serve --open". HOT 1
- expo start not opening project
- npm install
- npm ERR! cb.apply is not a function While trying to Update the Npm the Windows way. HOT 1
- Failed to upgrade from 6.14.6 to 6.14.8 HOT 2
- Error: Npm start
- Error to upgrade: from 6.14.8 to the latest
- npx create-react-app => Error EINTEGRITY
- Cannot find module 'npm-windows-upgrade.js'
- You wanted to install npm 7.6.1, but the installed version is 6.14.11. HOT 2
- "Scripts cannot be executed on this system." on pwsh 7 if process scope is not Unrestricted
- npm install express --save Error
- npm ERR! code EINTEGRITY
- failed to upgrade npm
- while enter npm start for runt a react app it shows error like this
- Cannot install latest version on Windows HOT 1
- Can't execute npm-windows_update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-windows-upgrade.