当前位置:网站首页>解决:cnpm : 无法加载文件 ...\cnpm.ps1,因为在此系统上禁止运行脚本
解决:cnpm : 无法加载文件 ...\cnpm.ps1,因为在此系统上禁止运行脚本
2022-04-23 18:34:00 【ChangYan.】
运行cnpm install时报错如下:

解决方案:
组合按键win + S,输入查找,以管理员身份运行

输入指令如下:
set-ExecutionPolicy RemoteSigned
然后输入选择A,
检查是否输入完成get-ExecutionPolicy

大功告成!再次输入cnpm install,可以成功安装!

版权声明
本文为[ChangYan.]所创,转载请带上原文链接,感谢
https://blog.csdn.net/changyana/article/details/124335072
边栏推荐
- STM32学习记录0008——GPIO那些事1
- Daily network security certification test questions (April 12, 2022)
- Daily CISSP certification common mistakes (April 18, 2022)
- WiFi ap6212 driver transplantation and debugging analysis technical notes
- 多功能工具箱微信小程序源码
- Connection mode of QT signal and slot connect() and the return value of emit
- powerdesigner各种字体设置;preview字体设置;sql字体设置
- 硬核解析Promise对象(这七个必会的常用API和七个关键问题你都了解吗?)
- Use stm32cube MX / stm32cube ide to generate FatFs code and operate SPI flash
- 深度学习经典网络解析目标检测篇(一):R-CNN
猜你喜欢

机器学习理论之(8):模型集成 Ensemble Learning

Robocode Tutorial 4 - robocode's game physics

STM32 learning record 0008 - GPIO things 1

【ACM】509. 斐波那契数(dp五部曲)

Imx6 debugging LVDS screen technical notes

Halo open source project learning (VII): caching mechanism

Kettle paoding jieniu Chapter 17 text file output

【ACM】70. 爬楼梯

How to virtualize the video frame and background is realized in a few simple steps

Setting up keil environment of GD single chip microcomputer
随机推荐
Ionic 从创建到打包指令集顺序
Win1远程出现“这可能是由于credssp加密oracle修正”解决办法
Resolve the error Max virtual memory areas VM max_ map_ count [65530] is too low, increase to at least [262144]
登录和发布文章功能测试
Gson fastjason Jackson of object to JSON difference modifies the field name
【ACM】509. Fibonacci number (DP Trilogy)
Rust: shared variable in thread pool
Daily CISSP certification common mistakes (April 12, 2022)
Log4j2 cross thread print traceid
Robocode tutorial 5 - enemy class
使用 bitnami/postgresql-repmgr 镜像快速设置 PostgreSQL HA
MATLAB小技巧(6)七种滤波方法比较
QT curve / oscilloscope customplot control
Daily network security certification test questions (April 13, 2022)
Keil RVMDK compiled data type
If condition judgment in shell language
Function recursion and solving interesting problems
Halo open source project learning (VII): caching mechanism
视频边框背景如何虚化,简单操作几步实现
CANopen usage method and main parameters of object dictionary