当前位置:网站首页>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 ~
边栏推荐
- Resource not found: rgbd_launch 解决方案
- 微信公众号正式环境上线部署,第三方公众平台接入
- "Ask every day" what is volatile
- Filters get the data in data; Filters use data in data
- 应用实践:Paddle分类模型大集成者[PaddleHub、Finetune、prompt]
- 39 简洁版小米侧边栏练习
- As methods for viewing and excluding dependencies
- Qt connect 中, SIGNAL,SLOT 与 lambda 对比
- easygui使用的语法总结
- GameFramework制作游戏(一)
猜你喜欢
随机推荐
37 element mode (inline element, block element, inline block element)
27 classification of selectors
PHP 通过原生CURL实现非阻塞(并发)请求模式
Application practice: Great integrator of the paddy classification model [paddlehub, finetune, prompt]
SSM Advanced Integration
IP address classification, which determines whether a network segment is a subnet supernetwork
[C topic] force buckle 876. Intermediate node of linked list
Thymeleaf controls whether display is displayed through style
"Ask every day" what is volatile
D2. picking carrots (hard version) (one question per day)
32 chrome调试工具的使用
GameFramework制作游戏(一)
牛客多校 E G J L
Login of MySQL [database system]
Go language founder leaves Google
L1和L2正则化
AS查看依赖关系和排除依赖关系的办法
QObject源码剖析-d指针和q指针
[Nuxt 3] (十一) 传送 & 模块
(原创)自定义一个滚屏的RecyclerView







![[eloquence] negotiation persuasion skills and Strategies](/img/01/0fcbbfcf35a6d166c14ba4215eacac.jpg)

