I just joined a new company in Wuhan two days ago. To tell you the truth, I have not used Windows for more than two years with the ThinkPad computer provided by the company, so I am not used to it. But it is not a big problem, so I have to get familiar with it again.
The installation
Install NVM when you configure your computer environment. Unlike installing NVM directly on MAC, install NVM-Windows on Windows. Select nVM-setup. zip from the official repository for nVM-Setup. zip to download and unzip the installation. Once installed, type NVM in Git bash to find the command. Git bash will not be found if you have not opened git bash before installing NVM.
Set the setting. TXT
In the NVM installation directory, go to setting. TXT and open it with Notepad to add the following two lines:
node_mirror: https://npm.taobao.org/mirrors/node/
npm_mirror: https://npm.taobao.org/mirrors/npm/
Copy the code
Use on pit
NPM of node 8.11 or later cannot be automatically installed. Solution (don’t know how say there are other ways) : need oneself to NPM website (npm.taobao.org/mirrors/npm…). Download the NPM version for manual installation
- No NPM run file exists in the specified Node version directory under the NVM
- Node_modules found the folder is empty
- Download the NPM version of Node
- Unzip the folder and rename it to NPM and copy it to node_modules
- Finally, copy NPM and npm. CMD in the bin directory of NPM to the same directory as node_modules
- In this case, the NPM command can be used. If it cannot be used, run it
NVM Use Node version
Common NVM commands
- NVM Install Node version
- NVM Uninstall Node version
- NVM Use Node version
- NVM list: View the installed nodes
- NVM list available: Check the released node version, preferably install LTS stable version
, recruiting
Yungrain Wisdom Wuhan Branch recruited front and back end, test (P5/P6), HC duo Duo. In terms of the front end team, there are more than 30 people in Beijing headquarters and Wuhan branch, among which there are about 20 people in wuhan team, which is a young and passionate team. Welcome to join us and do business and gay construction together. Yungrwisdom is a joint venture between China Unicom and Alibaba, mainly engaged in the digitalization of government and enterprise, with strong background and great development space. If you are interested in internal promotion, please add my wechat or send your resume to my email: [email protected].