当前位置:网站首页>Vscode [because scripts are not allowed to run on this system]
Vscode [because scripts are not allowed to run on this system]
2022-07-18 08:15:00 【hzxOnlineOk】
error
stay vscode Terminal operation create-react-app Scaffold error report :

Reasons for screening
Start on your computer Windows PowerShell when , The execution strategy is Restricted( default setting ).Restricted Execution policy does not allow any scripts to run .RemoteSigned Execution strategies prevent Windows PowerShell Run a script without a digital signature .
Solution
Scheme 1 ( If scheme 1 does not take effect , Please try scheme two or three )
The right choice vscode, Click properties , Choose compatibility , Check to run this program as an administrator .
Option two
stay vscode Of TERMINAL Execute the command window and enter the following command to view the configuration
get-executionpolicy
Then enter the following command to set the policy
set-executionpolicy remotesigned
Option three
Start on your computer Windows PowerShell, Modify the execution strategy as RemoteSigned ( The default setting is Restricted)
Reference resources :https://blog.csdn.net/VXadmin/article/details/120934671
See if it works
Reopen vscode, Open the terminal and execute the following 2 An order
get-ExecutionPolicy // View execution policy
set-ExecutionPolicy RemoteSigned // Set execution strategy
边栏推荐
- 数据传输:同构异IP数据源批量抽取实践
- LDAP introduction
- Compétition · 6116 · calcul de la valeur de l'arbre binaire booléen · récursion
- C language · prefix tree implementation
- Is CICC wealth securities a formal securities company? Is it safe to open an account
- [untitled] slow SQL analysis and optimization
- 337. Looting · dynamic planning
- 406 · rebuild the queue according to height · greed
- One question per day · 873 The length of the longest Fibonacci subsequence Mnemonic search
- 每日一题·873.最长的斐波那契子序列的长度.记忆化搜索
猜你喜欢

李沐动手学深度学习v2-目标检测中的锚框和代码实现

Des dizaines de milliards de données compressées à 600 go, tdengine est installé sur la plateforme mobile d'énergie de GCL

Pytorch中torch.sort()和torch.argsort()函数解析

347.前K个高频元素.结构体数组排序

Broadcast mechanism in pytoch

JVM tuning command encyclopedia and common command tools and practical steps
![[untitled] slow SQL analysis and optimization](/img/0c/24200bc7052e87ae4d93b309b12c5d.png)
[untitled] slow SQL analysis and optimization

数据传输:同构异IP数据源批量抽取实践

Refute 'all management without assessment is nonsense'

Matlab:trainingoptions() explain training options in detail
随机推荐
How to set the allure test report
Unity iotar augmented reality tutorial
软件架构与设计(七)-----互动架构
Software architecture and design (VIII) -- distributed architecture
Matlab: usage of reading imagedatastore() from dataset
Matlab:图像增强 imageDataAugmenter() 的用法
每日一题·1217.玩筹码·贪心
软件架构与设计(十)-----架构技术
数百亿数据压缩至 600GB,TDengine 落地协鑫能科移动能源平台
Advanced testers must see: basic knowledge of automated testing
Is it safe for Huatai Securities to open an account? How to open an account?
Matlab求正态函数积分,积分对应的分位点
Software architecture and design (x) -- Architecture Technology
Is CICC wealth securities a formal securities company? Is it safe to open an account
676.实现一个魔法字典·前缀树
347. The first k high-frequency elements Structure array sorting
华泰证券开户安全吗?怎么开户?
LDAP introduction
Difference between shape parameter and scale parameter in probability density function
概率密度函数中形状参数和尺度参数的区别