Reprint address: https://blog.csdn.net/qq_ 33295622/article/details/52956369
the situation shown in the figure above appears when the node is reinstalled, and the solutions are as follows:
1. Download the stable version of node.exe from the official website, and select 32bit or 64bit according to the actual situation
here I choose 64bit, After downloading, get node.exe
2 http://nodejs.org/dist/npm/ Download the latest version of NPM
3. Create the node.js folder under the C:: program files file, and put the node.exe and the unzipped NPM in it
4. Configure environment variables, right-click computer – properties – advanced system settings – environment variables, and add C:: program files – node.js to the user variable path, Add a new variable node to the system variable_ Path, and the value of the variable is C:// program files \ \ node. JS \ \ node_ Modules
5. At this time, you can enter CMD in windows search, open cmd.exe, enter node – V and NPM – V respectively
the NPM version I download here is 1.4.9, enter NPM install [email protected] -g. You can download the NPM of the specified version to get the result above
so far, node.js and NPM have been successfully installed
Similar Posts:
- Android Studio Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT (Solved)
- Chromedriver executable needs to be in path [How to Solve]
- The “git” item cannot be recognized as the name of a cmdlet, function, script file, or executable program. Please check the spelling of the name, if you include the path, make sure the path is correct
- PHPStorm Run Error: Failed to load JVM DLL
- [Solved] Python import _ SSL DLL load fail error the module problem could not be found
- C# System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
- SDK manager cannot open the solution (Android)
- No JVM could be found on your system [How to Solve]
- FreeMind Open Warning: the registry refers to a nonexiste
- [Solved] Nodejs Error: Cannot find module ‘express’