当我在浏览器上运行应用程序时出现错误。
ionic cordova run browser
Run Code Online (Sandbox Code Playgroud)
错误是
Error: Unknown argument: platform [ERROR] An error occurred while running subprocess ng. ng.cmd run app:ionic-cordova-build --platform=browser exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
Run Code Online (Sandbox Code Playgroud)
我的配置
离子:
离子 CLI : 6.13.1 离子框架 : @ionic/Angular 6.1.13 @Angular-devkit/build-Angular : 14.0.5 @Angular-devKit/Schematics : 14.0.5 @Angular/cli : 14.0.5 @ionic/Angular -工具包:6.1.0
科尔多瓦:
Cordova CLI:11.0.0 Cordova 平台:浏览器 6.0.0 Cordova 插件:cordova-plugin-ionic-keyboard 2.2.0、cordova-plugin-ionic-webview 5.0.0(以及其他 4 个插件)
公用事业:
科尔多瓦-res:0.15.4 本机运行:1.6.0
系统:
Android SDK 工具:26.1.1 NodeJS:v16.16.0 npm:8.2.0 …