我正在尝试为Eclipse IDE(适用于PHP开发人员的Helios Release)安装AngularJS扩展,但我一直收到以下错误消息:
Cannot complete the install because one or more required items could not be found.
Software being installed: AngularJS support for PHP (PDT) 1.1.0.201511091212 (angularjs-eclipse-php-feature.feature.group 1.1.0.201511091212)
Missing requirement: Tern - Eclipse 1.1.0.201511082254 (tern.eclipse 1.1.0.201511082254) requires 'bundle org.eclipse.swt 3.7.0' but it could not be found
Cannot satisfy dependency:
From: AngularJS support for PHP (PDT) 1.1.0.201511091212 (angularjs-eclipse-php-feature.feature.group 1.1.0.201511091212)
To: org.eclipse.angularjs.php.core [1.1.0.201511091212]
Cannot satisfy dependency:
From: Eclipse AngularJS PHP - Core 1.1.0.201511091212 (org.eclipse.angularjs.php.core 1.1.0.201511091212)
To: bundle tern.eclipse 0.0.0
我该怎么办?我是新手使用eclipse
答案 0 :(得分:1)
按org.eclipse.swt
检查(eclipse menu) > Help > Installation Details > (select) Plugins (tab) > (search for) org.eclipse.swt > (look at) Version
插件的当前安装情况。
如果插件不存在或版本不同/更小,那么您需要先安装/更新org.eclipse.swt
插件。
顺便说一下,Helios
太旧了。它现在是Mars
,所以尝试获取最后一个版本的eclipse,我认为你不会遇到这个问题。