这是我的离子信息:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms : android 6.3.0 ios 4.5.4 startup
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
ios-sim : 7.0.0
Node : v6.11.4
npm : 6.0.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000
Environment Variables:
ANDROID_HOME : /Users/apple/Library/Android/sdk
Misc:
backend : pro
虽然我尝试安装ionic cordova插件并添加cordova-plugin-facebook4,但系统返回以下错误:
Error: Failed to fetch plugin cordova-plugin-facebook4@^2.2.0 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL
我检查了互联网连接,情况很好。来自xml的插件规范为:<plugin name="cordova-plugin-facebook4" spec="^2.2.0">
请指教。