当前位置:网站首页>Install cnpm and use cnpm command in vscode terminal

Install cnpm and use cnpm command in vscode terminal

2022-06-13 03:42:00 _ Virgo programmer's daily life

One 、 install cnpm

1. install :
npm install -g cnpm --registry=https://registry.npm.taobao.org
2. see :
cnpm -v

Two 、 stay vscode Use in

stay vscode Use in cnpm The premise is that cnpm
1. Run as Administrator vscode, And open the corresponding project ;
2. Execute... In the terminal get-ExecutionPolicy, Show Restricted, Indicates that the status is prohibited ;
3. Then perform set-ExecutionPolicy RemoteSigned;
4. Then execute get-ExecutionPolicy, Show RemoteSigned, Indicates that the status is unblocked , Can run .
 Insert picture description here

原网站

版权声明
本文为[_ Virgo programmer's daily life]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202280527093612.html

随机推荐