电脑用户没有admin权限,如何配置node开发环境

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的安装与配置详解icon-default.png?t=M3K6https://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

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值