gpt4 book ai didi

ios - "ionic cordova platform add ios"无法获取平台 cordova-ios@0.0.1

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:00:26 24 4
gpt4 key购买 nike

当我运行“ionic cordova platform add ios”时,出现以下错误。如何解决?

Exception: Using cordova-fetch for cordova-ios@0.0.1

Error: Failed to fetch platform cordova-ios@0.0.1
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for cordova-ios@0.0.1
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/thanhnguyen/.npm/_logs/2017-08-25T10_34_19_961Z-debug.log

最佳答案

以下命令应该可以解决问题:

cordova platform add ios@latest

关于ios - "ionic cordova platform add ios"无法获取平台 cordova-ios@0.0.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45879732/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com