当前位置:网站首页>The 'yarn' item cannot be recognized as the name of a cmdlet, function, script file, or runnable program
The 'yarn' item cannot be recognized as the name of a cmdlet, function, script file, or runnable program
2022-06-13 07:11:00 【Floating across the sea】
Cannot be “yarn” Item identified as cmdlet、 function 、 The name of the script file or runnable program
Cannot be “yarn” Item identified as cmdlet、 function 、 The name of the script file or runnable program . Please check the spelling of the name , If the path is included , Please make sure the path is correct , And then try again .
The position of That's ok :1 character : 5
- yarn <<<< --registry=https://registry.npm.taobao.org
- CategoryInfo : ObjectNotFound: (yarn:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
terms of settlement
npm install -g yarn
An error is reported after the execution again
Unable to load file C:\Users\Lenovo\AppData\Roaming\npm\yarn.ps1, Because script execution is forbidden in this system . For more information , see also “get-help about_signing”.
Actually, this place is a bit of a hole because I am win7 Our computer ,cmd It's no use executing commands on the Internet , We can learn from it at this time
Run as administrator vscode;
perform :get-ExecutionPolicy, Show Restricted, Indicates that the status is prohibited ;
perform :set-ExecutionPolicy RemoteSigned;
Then execute get-ExecutionPolicy, Show RemoteSigned.
边栏推荐
猜你喜欢
Yolov5 analysis | parameters and performance indicators
Br tool backup recovery
RT-Thread 模拟器 simulator LVGL控件:switch 开关按钮控件
10 Honest Facts I Want To Share With All Junior Developers
在 localStorage 中上传和检索存储图像
Xuanwu cloud technology passed the listing hearing: the performance fluctuated significantly, and chenyonghui and other three were the controlling shareholders
The biggest highlight of wwdc2022: metalfx
RT-Thread 模拟器 simulator LVGL控件:button 按钮事件
Periodontitis investigation (ongoing)
TiDB Lightning
随机推荐
Xiaomi's one-sided interview questions (self sorting answers)
Sorting of numbers and strings
Yolov5 analysis | parameters and performance indicators
Through the function seaborn cubehelix_ Palette build order palette
[Markov chain Monte Carlo] Markov chain Monte Carlo method sampling prior distribution
Evolution in the digital age
Tidb dashboard modify port
Lightning data import
尝试使用RenderDoc查看UE的Shader代码
全志V3S环境编译开发流程
Database connection under WinForm
Word document export
Tidb execution plan -- II
Simple understanding of basic language of C language
检测循环数“142857“
Department store center supply chain management system
Local file upload FTP or remote directory
微隔离(MSG)
SDN basic overview
Relevant knowledge under WinForm