All plans is based on a new folder that you have full control permission . So , I suggest U new a folder in documents folder.
Plan A:
Step1: node download Node.js 中文网
Step2: Installation and Configuration 正在上传…重新上传取消node的安装与配置详解https://zhuanlan.zhihu.com/p/374414969
Step3:set nodejs document Permissons
3.1: click on the right mouse button, and select document Properties(右键选择属性)
3.2: choose security ,then click your user account , and then click Edit (点击安全属性页面)
3.3: select all Permissions,then apply (选中所有权限,然后应用)
3.4: back to security property page , click Advanced button,select Replace all child object permission entries with inheritable permission entries form this object (回到安全属性页面,点击高级按钮,勾选 使用可从此对象继承的权限项目代替子对象的项目权限)
Plan B:
Step1 : download NVM ( website: Releases · coreybutler/nvm-windows)
Step2 : nvm setup
If your computer installed node , uninstall it firstly . Unpack the nvm-setup.zip file , doubleclick .exe file
Choose your setup path , your new folder best
Choose nodejs path , your new folder best
Check nvm version ,run CMD as Administrator
Step 2: found your nvm setup path ,edit settings.txt
Add these lines of code at the end of settings.txt
arch: 64
proxy: none
node_mirror: http://npm.taobao.org/mirrors/node/
npm_mirror: https://npm.taobao.org/mirrors/npm/
Step3 : nvm usage
Step: Add Environment Variables