当前位置:网站首页>Yarn: the file yarn.ps1 cannot be loaded because running scripts is prohibited on this system.
Yarn: the file yarn.ps1 cannot be loaded because running scripts is prohibited on this system.
2022-07-25 14:54:00 【Senior fishing Engineer】
yarn : Unable to load file D:\devtool\node\node_global\yarn.ps1, Because scripts are not allowed to run on this system . For more information , see also https:/go.microsoft.com/fwlink/?LinkID=135170 Medium about_Execut
ion_Policies.
npm install --global yarn
install yarn Hold this mistake when .
There is also such a hint :
For more information , see also https:/go.microsoft.com/fwlink/?LinkID=135170 Medium about_Execut
ion_Policies.
Looked at the , Is probably powershell Security policy issues .
solve
Follow the instructions in the above article , Modify security policy :
- open powershell, Open as administrator
- set-ExecutionPolicy RemoteSigned, choice Y
- get-ExecutionPolicy See if it's RemoteSigned
verification
npm install --global yarn
The successful running ~
边栏推荐
- Heyuan City launched fire safety themed milk tea to boost fire prevention and control in summer
- 37 元素模式(行内元素,块元素,行内块元素)
- 43 box model
- L1 and L2 regularization
- [C topic] Li Kou 206. reverse the linked list
- 物理量与单位符号的书写标准
- Copy files / folders through Robocopy
- D2. Chopping Carrots (Hard Version) (每日一题)
- SSH服务器拒绝了密码
- 51单片机学习笔记(1)
猜你喜欢

sudo rosdep init Error ROS安装问题解决方案

The solution to the problem that the progress bar of ros2 installation connext RMW is stuck at 13%

SSM framework integration, simple case

微信公众号正式环境上线部署,第三方公众平台接入

Gonzalez Digital Image Processing Chapter 1 Introduction

44 新浪导航 ,小米边栏 练习

English grammar_ Indefinite pronoun - other / other

45padding不会撑开盒子的情况

阿里云技术专家邓青琳:云上跨可用区容灾和异地多活最佳实践

41 图片背景综合-五彩导航图
随机推荐
English grammar_ Indefinite pronoun - other / other
SSM framework integration, simple case
PHP 通过原生CURL实现非阻塞(并发)请求模式
006操作符简介
Reprint ---- how to read the code?
Paddlenlp's UIE relationship extraction model [executive relationship extraction as an example]
MySQL的登陆【数据库系统】
SQL优化的一些建议,希望可以帮到和我一样被SQL折磨的你
39 simple version of millet sidebar exercise
MySQL 45讲 | 06 全局锁和表锁 :给表加个字段怎么有这么多阻碍?
[C题目]力扣876. 链表的中间结点
LeetCode_ String_ Medium_ 151. Reverse the words in the string
As methods for viewing and excluding dependencies
QObject source code analysis -d pointer and Q pointer
39 简洁版小米侧边栏练习
阿里云技术专家邓青琳:云上跨可用区容灾和异地多活最佳实践
Deng Qinglin, a technical expert of Alibaba cloud: Best Practices for disaster recovery and remote multi activity across availability zones on cloud
PHP implements non blocking (concurrent) request mode through native curl
[MySQL must know and know] trigger | permission management
转载----如何阅读代码?