当前位置:网站首页>cordova installation error Command failed: powershell solution
cordova installation error Command failed: powershell solution
2022-08-10 19:57:00 【xzlAwin】
cordova installation error Command failed: powershell solution
Exception information
F:\sdk\nodejs\X64\npm\node_global\node_modules\cordova\node_modules\windows-release\node_modules\execa\index.js:347throw err;^Error: Command failed: powershell (Get-CimInstance -ClassName Win32_OperatingSystem).caption
Problem description
- After installing cordova globally, running cordova -v prompts a script error
Analyze why
- Lack of Wbem, cordova relies on Wbem to judge the system environment
Workaround
- Modify the Path environment variable and add the Wbem environment variable
variable name | variable value |
---|---|
Path append | .;%SystemRoot%; %SystemRoot%\system32; %SystemRoot%\System32\Wbem; |
边栏推荐
- Win11连接投影仪没反应怎么解决?
- argparse——命令行参数解析
- Pt/CeO2单原子纳米酶|[email protected] NPs纳米酶|碳纳米管负载铂颗粒纳米酶|白血病拮抗多肽修饰的FeOPtPEG复合纳米酶
- 转铁蛋白(Tf)修饰去氢骆驼蓬碱磁纳米脂质体/香豆素-6脂质体/多柔比星脂质体
- 电脑如何去掉u盘写保护的状态
- Biotin-PEG4-IC(TFP ester/amine/NHS Ester/azide)特性分享
- 优化是一种习惯●出发点是'站在靠近临界'的地方
- 2020 ICPC Shanghai Site G
- 《分布式微服务电商》专题(一)-项目简介
- QoS Quality of Service Seven Switch Congestion Management
猜你喜欢
Optimizing Bloom Filter: Challenges, Solutions, and Comparisons论文总结
(十)图像数据的序列与反序列化
转铁蛋白(Tf)修饰去氢骆驼蓬碱磁纳米脂质体/香豆素-6脂质体/多柔比星脂质体
电脑如何去掉u盘写保护的状态
基于TCP的聊天系统
YOLOv3 SPP源码分析
whois information collection & corporate filing information
MATLAB设计,FPGA实现,联合ISE和Modelsim仿真的FIR滤波器设计
servlet映射路径匹配解析
@Autowired annotation --required a single bean, but 2 were found causes and solutions
随机推荐
uni-app 数据上拉加载更多功能
redis如何查看key的有效期
电脑重装系统Win11格式化硬盘的详细方法
QoS Quality of Service Seven Switch Congestion Management
Introduction to 3 d games beginners essential 】 【 modeling knowledge
About npm/cnpm/npx/pnpm and yarn
Transferrin-modified vincristine-tetrandrine liposomes | transferrin-modified co-loaded paclitaxel and genistein liposomes (reagents)
报错:runtime error: reference binding to null pointer of type ‘std::vector<int, std::allocator<int>>‘
servlet映射路径匹配解析
西安Biotin-PEG8-IA_IA-PEG8-生物素供应商
手把手教你Charles抓包工具使用
主动信息收集
mysql 中大小写问题
The Biotin-PEG3-Br/acid/NHS ester/alcohol/amine collection that everyone wants to share
【毕业设计】基于STM32的天气预报盒子 - 嵌入式 单片机 物联网
【LeetCode】42、接雨水
Tf铁蛋白颗粒包载顺铂/奥沙利铂/阿霉素/甲氨蝶呤MTX/紫杉醇PTX等药物
TDD、FDD是什么意思?
小分子PEG CAS:1352814-07-3生物素-PEG6-丙酸叔丁酯
这7个自动化办公模版 教你玩转表格数据自动化