=> Errors executing Cordova commands:
添加插件时
https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git#df5e89e54d5142c964c1139db6fe813a01125825
到科尔多瓦项目:
Cordova错误:CordovaError:无法获取插件
通过git https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git。
要么存在连接问题,要么插件规范不正确:
错误:git:命令失败,退出代码1错误输出:
xcrun:错误:无效的活动开发人员路径
(/ Library / Developer / CommandLineTools),缺少xcrun:
/库/开发商/ CommandLineTools在/ usr / bin中/ xcrun
在plugins.clonePluginGit.fail.then.pinfo
(/Users/omiharjani/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/科尔多瓦-LIB / SRC / plugman / fetch.js:88:33)
在_rejected
(/Users/omiharjani/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/ q / q.js:797:24)
在
/Users/omiharjani/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q /q.js:823:30
在Promise.when
(/Users/omiharjani/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/ q / q.js:1035:31)
在Promise.promise.promiseDispatch
(/Users/omiharjani/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/ q / q.js:741:41)
在
/Users/omiharjani/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q /q.js:557:44
在同花顺
(/Users/omiharjani/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/ q / q.js:108:17)
at process._tickCallback(node.js:448:13)
(如果错误消息包含修复建议,请注意这可能不是
适用于Meteor集成。您可以尝试再次使用
--verbose选项,以帮助诊断问题。)
答案 0 :(得分:0)
此命令解决了上述错误:xcode-select --install