当前位置:网站首页>解决:cnpm : 無法加載文件 ...\cnpm.ps1,因為在此系統上禁止運行脚本
解决:cnpm : 無法加載文件 ...\cnpm.ps1,因為在此系統上禁止運行脚本
2022-04-23 18:35:00 【ChangYan.】
運行cnpm install時報錯如下:

解决方案:
組合按鍵win + S,輸入查找,以管理員身份運行

輸入指令如下:
set-ExecutionPolicy RemoteSigned
然後輸入選擇A,
檢查是否輸入完成get-ExecutionPolicy

大功告成!再次輸入cnpm install,可以成功安裝!

版权声明
本文为[ChangYan.]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231833579676.html
边栏推荐
- 硬核解析Promise对象(这七个必会的常用API和七个关键问题你都了解吗?)
- Daily network security certification test questions (April 18, 2022)
- MATLAB小技巧(6)七种滤波方法比较
- Vulnérabilité d'exécution de la commande de fond du panneau de commande JD - freefuck
- 教你用简单几个步骤快速重命名文件夹名
- Test questions of daily safety network (February 2024)
- Install the yapiupload plug-in in idea and upload the API interface to the Yapi document
- Daily network security certification test questions (April 15, 2022)
- 使用 bitnami/postgresql-repmgr 镜像快速设置 PostgreSQL HA
- Test post and login function
猜你喜欢

解决:cnpm : 无法加载文件 ...\cnpm.ps1,因为在此系统上禁止运行脚本

Kettle paoding jieniu Chapter 17 text file output

Use stm32cube MX / stm32cube ide to generate FatFs code and operate SPI flash

From introduction to mastery of MATLAB (2)

机器学习理论之(7):核函数 Kernels —— 一种帮助 SVM 实现非线性化决策边界的方式

玻璃体中的硫酸软骨素

Cygwin64 right click to add menu, and open cygwin64 here

Robocode Tutorial 4 - robocode's game physics

Function recursion and solving interesting problems

WIN1 remote "this may be due to credssp encryption Oracle correction" solution
随机推荐
How to ensure the security of futures accounts online?
STM32学习记录0008——GPIO那些事1
JD-FreeFuck 京東薅羊毛控制面板 後臺命令執行漏洞
Robocode tutorial 8 - advanced robot
CISSP certified daily knowledge points (April 12, 2022)
Imx6 debugging LVDS screen technical notes
使用 bitnami/postgresql-repmgr 镜像快速设置 PostgreSQL HA
On iptables
Halo 开源项目学习(七):缓存机制
Setting up keil environment of GD single chip microcomputer
Differences between SSD hard disk SATA interface and m.2 interface (detailed summary)
K210串口通信
Ctfshow - web362 (ssti)
Daily CISSP certification common mistakes (April 13, 2022)
From introduction to mastery of MATLAB (2)
CISSP certified daily knowledge points (April 15, 2022)
The connection of imx6 network port is unstable after power on
Excel intercept text
Matlab tips (6) comparison of seven filtering methods
How to virtualize the video frame and background is realized in a few simple steps