当前位置:网站首页>Vs code runs "yarn run dev" and reports "yarn": the file XXX cannot be loaded
Vs code runs "yarn run dev" and reports "yarn": the file XXX cannot be loaded
2022-06-27 18:58:00 【Sigh of love】
Before that IDEA Medium safety VUE Plug ins can run front-end projects , Later, I wanted to separate myself from ordinary software for development , Find out VS code function yarn run dev Report the following error :
PS E:\idea_workspace\capital\capital-vue3\capital-vue3-20220616\capital-ui> yarn run dev
yarn : Unable to load file D:\Program\nodejs\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_Execution_Policies.
The position of That's ok :1 character : 1
+ yarn run dev
+ ~~~~
+ CategoryInfo : SecurityError: (:) [],PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
PS E:\idea_workspace\capital\capital-vue3\capital-vue3-20220616\capital-ui>Reference resources :
The screenshot of the operation is as follows
First enter get-ExecutionPolicy Check the status
Restricted Disable
Input again set-ExecutionPolicy RemoteSignedThen it can be used normally

边栏推荐
- 实现时序数据库(Time Series Database)在特定场景下“远超”通用数据库的难点
- 一位平凡毕业生的大学四年
- Industry university cooperation cooperates to educate people, and Kirin software cooperates with Nankai University to complete the practical course of software testing and maintenance
- Teach you to use elastic search: run the first hello world search command
- Win10 LTSC 2021 wsappx CPU usage high
- Redis系列2:数据持久化提高可用性
- 网上期货开户安全么?
- Teach you to use elastic search: run the first hello world search command
- 阿里巴巴的使命、愿景、核心价值观
- Recommend several open source IOT platforms
猜你喜欢

阅文、中文在线等网文平台如何布局数字藏品?未来是否会推出“Read/Write-to-Earn”产品?

Teach you to use elastic search: run the first hello world search command

全面解析零知识证明:消解扩容难题 重新定义「隐私安全」

MySQL数据库登录和退出的两种方式

Keras deep learning practice (12) -- facial feature point detection

Alibaba's mission, vision and core values

国内首家!EMQ加入亚马逊云科技“初创加速-全球合作伙伴网络计划”

手把手教你在Windows 10安装Oracle 19c(详细图文附踩坑指南)

2022年信创行业空间测算

Good news - British software 2022 has obtained 10 invention patents!
随机推荐
Recommend several open source IOT platforms
[webinar] mongodb and Google cloud accelerate enterprise digital innovation
Written in eclipse, problems after querying the database connection
Using WebDAV instead of 445 port file share
Technology sharing | introduction to kubernetes pod
如何查看 MySQL 表的索引信息?
VS code 运行yarn run dev 报yarn : 无法加载文件XXX的问题
MySQL中的行转列和列转行
Alibaba's mission, vision and core values
Market status and development prospect of resorcinol derivatives for skin products in the world in 2022
Is Guosen Securities a state-owned enterprise? Is it safe to open an account with Guosen Securities?
网上期货开户安全么?
Hikvision Tools Manager海康威视工具大全(含SADP、录像容量计算等工具)百万安防从业者的实用工具
Hikvision tools manager Hikvision tools collection (including sadp, video capacity calculation and other tools) a practical tool for millions of security practitioners
Bit.Store:熊市漫漫,稳定Staking产品或成主旋律
Market status and development prospect forecast of global handheld ventilator industry in 2022
MySQL数据库登录和退出的两种方式
TP5 generates the most detailed two-dimensional code tp6 (also available)
InfluxDB集群功能不再开源,TDengine集群功能更胜一筹
实现时序数据库(Time Series Database)在特定场景下“远超”通用数据库的难点
https://blog.csdn.net/weixin_55333190/article/details/122492166