当前位置:网站首页>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

边栏推荐
- 明美新能源冲刺深交所:年应收账款超6亿 拟募资4.5亿
- Exporting coordinates of points in TXT format in ArcGIS
- China's Industrial Software Market Research Report is released, and SCADA and MES of force control enrich the ecology of domestic industrial software
- 别焦虑了,这才是中国各行业的工资真相
- 全面解析零知识证明:消解扩容难题 重新定义「隐私安全」
- Simple anti shake for wechat applet
- New products, new personnel and new services, Infiniti will continue to plough into China's future!
- 9.OpenFeign服务接口调用
- 如何查看 MySQL 表的索引信息?
- Market status and development prospect forecast of phenethyl resorcinol for skin care industry in the world in 2022
猜你喜欢

Bit. Store: long bear market, stable stacking products may become the main theme
![[UVM foundation] UVM_ Is in agent_ Active variable definition](/img/55/a14fbde43b25ccdc5a7996121396f9.jpg)
[UVM foundation] UVM_ Is in agent_ Active variable definition

Recommend several open source IOT platforms

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

破解仓储难题?WMS仓储管理系统解决方案

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

Technology sharing | introduction to kubernetes pod

喜讯丨英方软件2022获得10项发明专利!
![[webinar] mongodb and Google cloud accelerate enterprise digital innovation](/img/ea/4680381ce78fd5d956ed009692b424.png)
[webinar] mongodb and Google cloud accelerate enterprise digital innovation

产学合作协同育人,麒麟软件携手南开大学合力完成《软件测试与维护》实践课程
随机推荐
数据同步工具 DataX 已经正式支持读写 TDengine
Allocate aligned heap space
Summary of domestic database certification test guide (updated on June 16, 2022)
芯动联科冲刺科创板:年营收1.7亿 北方电子院与中城创投是股东
laravel框架中 定时任务的实现
Characteristics of time series data
银河麒麟V10系统激活
Galaxy Kirin V10 system activation
Mise à jour SQL mise à jour par lots
How to rewrite tdengine code from 0 to 1 with vscode in "technical class"
Asemi rectifier bridge kbp307 parameters, kbp307 details, kbp307 pictures
Market status and development prospect forecast of global tetramethylammonium hydroxide developer industry in 2022
InfluxDB集群功能不再开源,TDengine集群功能更胜一筹
Tdengine connector goes online Google Data Studio store
PostgreSQL之存储过程篇
Wechat applet association search
Push NFT out of the regulatory dilemma, and BSN launched NFT supporting infrastructure network
MFS分布式文件系统
TDengine在数控机床监控中的应用
Three methods to quickly open CMD in a specified folder or place
https://blog.csdn.net/weixin_55333190/article/details/122492166