小编Thu*_*ake的帖子

Ionic - 未安装Cordova CLI

Ionic相关 - 我似乎无法在IOS或Android模拟器中运行任何应用程序,因为Cordova CLI无法安装.

从阅读开始,我认为它似乎与我对Node.JS和/或NPM的升级有关.但有关它的信息并不是确定的.我已经待了好几天了,无处可去.我尝试了所有的建议.卸载,删除隐藏文件,安装不同的稳定版本,清除缓存.没有任何效果.

我输入离子信息时的详细信息是

Cordova CLI: Not installed

Ionic CLI Version: 1.7.12  

Ionic App Lib Version: 0.6.5

ios-deploy version: Not installed

ios-sim version:Not installed  

OS: Mac OS X El Capitan  

Node Version: v4.2.3  

Xcode version: Xcode 7.2 Build version 7C68
Run Code Online (Sandbox Code Playgroud)

当我安装cordova s​​udo npm install -g cordova时.它不能解决上述问题.它仍然保持卸载状态.

我在下面使用此链接尝试在我的系统上没有任何node.js的干净平板.

如何完全卸载Node.js,并从头开始重新安装(Mac OS X)

还是无法解决问题.

请帮忙.

node.js cordova ionic-framework

11
推荐指数
3
解决办法
2万
查看次数

类型“org.sonarqube.gradle.SonarQubeTask”属性“pluginVersion”是私有的并用@Internal注释

我尝试在天蓝色管道上使用 sonarcube 配置代码分析。当我运行管道时,我遇到了这样的错误。

错误:“类型‘org.sonarqube.gradle.SonarQubeTask’属性‘pluginVersion’是私有的并用@Internal注释。”

Task:sonarqube FAILED
WARNING:API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.
It will be removed in version 7.0 of the Android Gradle plugin.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':sonarqube' (type 'SonarQubeTask').
  - Type 'org.sonarqube.gradle.SonarQubeTask' property 'pluginVersion' is private and annotated …
Run Code Online (Sandbox Code Playgroud)

gradle sonarqube azure-devops azure-pipelines

3
推荐指数
1
解决办法
4533
查看次数