当我尝试运行这个命令:离子服务,然后我得到了以下错误在终端.
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:757:9)
at spawn (C:\Users\Ebay\AppData\Roaming\npm\node_modules\@ionic\cli\node_modules\cross-spawn\index.js:12:24)
at spawn
(C:\Users\Ebay\AppData\Roaming\npm\node_modules\@ionic\cli\node_modules\@ionic\utils-subprocess\dist\index.js:173:12)
at Subprocess.spawn
(C:\Users\Ebay\AppData\Roaming\npm\node_modules\@ionic\cli\node_modules\@ionic\utils-subprocess\dist\index.js:146:16)
at Shell.spawn (C:\Users\Ebay\AppData\Roaming\npm\node_modules\@ionic\cli\lib\shell.js:151:24)
at async AngularServeCLI.spawn (C:\Users\Ebay\AppData\Roaming\npm\node_modules\@ionic\cli\lib\serve.js:345:19)
at async AngularServeCLI.spawnWrapper (C:\Users\Ebay\AppData\Roaming\npm\node_modules\@ionic\cli\lib\serve.js:321:20)
at async AngularServeCLI.serve (C:\Users\Ebay\AppData\Roaming\npm\node_modules\@ionic\cli\lib\serve.js:311:9)
at async AngularServeRunner.serveProject
(C:\Users\Ebay\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\angular\serve.js:117:9)
请在下面找到所用库的版本。
离子型:
1.离子CLI:7.1.1
1.离子 backbone :@离子/Angular 7.3.1
1.@angular-devkit/build-angular:16.2.0
1.@angular-devkit/schematics:16.2.0
1.@angular/cli:16.2.0
- ionic/angular-toolkit:9.0.0
电容:
1.电容器CLI:5.2.3
1.@capacitor/android:5.3.0
1.@capacitor/core:5.3.0
1.@capacitor/ios:5.3.0
实用程序:
1.科多瓦-雷斯:未全局安装
1.本地运行:1.7.2
系统
- NodeJS:v18.16.0
- npm:9.5.1
1.操作系统:Windows 10
1条答案
按热度按时间fdx2calv1#
禁用病毒防护后,它为我工作
谢谢你