尝试按照Create Your First Cordova App
指令在https://cordova.apache.org/docs/en/latest/guide/cli/,当尝试添加任何平台,我得到一个错误.我在Mac上,使用brew安装节点/npm.节点是版本15.1.0,npm是版本7.0.9.
$ cordova platform add ios
Using cordova-fetch for cordova-ios@^6.1.0
Failed to fetch platform cordova-ios@^6.1.0
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
CordovaError: CordovaError: Could not determine package name from output:
added 87 packages, and audited 87 packages in 2s
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
1条答案
按热度按时间omvjsjqw1#
尝试
然后再