当前位置:网站首页>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).captionProblem 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; |
边栏推荐
- Random函数用法
- Linux服务器安装Redis,详细步骤。
- 哈工大软件构造Lab3(2022)
- opengrok搭建[通俗易懂]
- Pt/CeO2单原子纳米酶|[email protected] NPs纳米酶|碳纳米管负载铂颗粒纳米酶|白血病拮抗多肽修饰的FeOPtPEG复合纳米酶
- Today's bug, click on the bug that the Windows dynamic wallpaper disappears in the win10 taskbar, and no solution has been found yet.
- [Go WebSocket] Your first Go WebSocket server: echo server
- 网站架构探测&chrome插件用于信息收集
- Rider调试ASP.NET Core时报thread not gc-safe的解决方法
- QoS Quality of Service Six Router Congestion Management
猜你喜欢

Keras deep learning combat (17) - image segmentation using U-Net architecture

Rider调试ASP.NET Core时报thread not gc-safe的解决方法

Transferrin-modified vincristine-tetrandrine liposomes | transferrin-modified co-loaded paclitaxel and genistein liposomes (reagents)

铁蛋白颗粒Tf包载多肽/凝集素/细胞色素C/超氧化物歧化酶/多柔比星(定制服务)

越折腾越好用的 3 款开源 APP

转铁蛋白(TF)修饰紫杉醇(PTX)脂质体(TF-PTX-LP)|转铁蛋白(Tf)修饰姜黄素脂质体

赎金信问题答记

【Knowledge Sharing】What is SEI in the field of audio and video development?

(十)图像数据的序列与反序列化

QoS Quality of Service Seven Switch Congestion Management
随机推荐
Colocate Join :ClickHouse的一种高性能分布式join查询模型
皮质-皮质网络的多尺度交流
Heme - gold nanoparticles (Heme - AuNP) composite nanometer enzyme | gold nanoparticles nuclear porous hollow carbon nanometer spherical shell (Au @ HCNs) nano enzyme
端口探测详解
优雅退出在Golang中的实现
【SemiDrive源码分析】【MailBox核间通信】51 - DCF_IPCC_Property实现原理分析 及 代码实战
机器学习|模型评估——AUC
主动信息收集
whois information collection & corporate filing information
我们用48h,合作创造了一款Web游戏:Dice Crush,参加国际赛事
网络虚拟化
Win11连接投影仪没反应怎么解决?
Pt/CeO2单原子纳米酶|[email protected] NPs纳米酶|碳纳米管负载铂颗粒纳米酶|白血病拮抗多肽修饰的FeOPtPEG复合纳米酶
[教你做小游戏] 斗地主的手牌,如何布局?看25万粉游戏区UP主怎么说
QoS服务质量七交换机拥塞管理
常见端口及服务
【二叉树】二叉搜索树的后序遍历序列
服务器上行带宽和下行带宽指的是什么
『牛客|每日一题』岛屿数量
IIC通信协议总结[通俗易懂]