为什么netbeans 8要安装未使用的cordova插件

我正在尝试在Netbeans 8中模拟一个Cordova项目。在尝试克隆该项目的插件时遇到错误。我也想解决该问题,但是还不明白为什么它需要这些插件。我没有使用需要相机,文件传输或其他功能的功能。

我可以使用npm来运行cordova plugin add xxx,但是当我重新运行时,netbeans只会尝试git clone我不需要的下一个插件。为什么以及如何告诉Netbeans跳过它们?

ant -f C:\\DATA\\TripChi\\dev\\tripchimobile\\nbproject -Dandroid.target.device.arg=emulate -Denv.DISPLAY=:0.0 "-Dupdate.task.jar=C:\\Program Files\\NetBeans 8.0\\webcommon\\ant\\extra\\org-netbeans-modules-cordova-projectupdate.jar" -Dandroid.sdk.home=C:\\Android\\android-sdks -Dandroid.build.target=android-17 -Dstart.file=index.html -Dandroid.project.activity=tripchimobile -Dconfig=android "-Dios.certificate.name=iPhone Developer" -Dsite.root=www "-Dcordova.version=3.4.1-0.1.0
" sim-android
check-android-template:
check-cordova-version:
check-cordova-project:
upgrade-to-cordova-project:
create-android:
update-plugins:
cordova.cmd plugins 
cordova.cmd -d plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git
Calling plugman.fetch on plugin "https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git"
Fetching plugin "https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git" via git clone
Fetching plugin via git-clone command: git clone "https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git" "c:\DOCUME~1\ELIA~1.TAY\LOCALS~1\Temp\plugman\git\1400970893221"
Error: Command failed: cmd.exe /s /c "git clone "https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git" "c:\DOCUME~1\ELIA~1.TAY\LOCALS~1\Temp\plugman\git\1400970893221""
fatal: could not create work tree dir 'c:\DOCUME~1\ELIA~1.TAY\LOCALS~1\Temp\plugman\git\1400970893221'.: No such file or directory

    at ChildProcess.exithandler (child_process.js:729:12)
    at ChildProcess.EventEmitter.emit (events.js:110:17)
    at maybeClose (child_process.js:992:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1059:5)
C:\DATA\TripChi\dev\tripchimobile\nbproject\build.xml:232: exec returned: 1
BUILD FAILED (total time: 2 seconds)

我的错误,虽然上述方法有效,但似乎更好的方法是通过

Project > Properties > Cordova > Plugins

并取消选择您不想包含的内容!)

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

为什么netbeans 8要安装未使用的cordova插件

来自分类Dev

Netbeans默认使用逗号。为什么?

来自分类Dev

为什么Netbeans无法使用Maven代理设置

来自分类Dev

为什么NetBeans IDE专门使用import语句?

来自分类Dev

为什么Netbeans中的Java 8劫持了我的浏览器中运行的Java 7?

来自分类Dev

为什么在Netbeans 8中将java.util.Hashtable标记为“过时的集合”?

来自分类Dev

为什么要安装OpenStack

来自分类Dev

当我使用glassfish在netbeans上部署项目时,为什么tomcat正在运行?

来自分类Dev

为什么当使用Powershell指定-Xms和-Xmx时,它们什么都不做,但是可以通过Netbeans IDE正常工作?

来自分类Dev

为什么Jetbrains为什么要安装自己的JDK以便与IDE一起使用?

来自分类Dev

为什么要“ MVN安装”战争项目?

来自分类Dev

为什么要安装前端库?

来自分类Dev

为什么不为Eclipse安装genymotion插件?

来自分类Dev

安装cordova-mfp-push插件后,为什么不能在真正的ios设备上运行cordova应用程序?

来自分类Dev

为什么要令牌?

来自分类Dev

为什么要打印?

来自分类Dev

为什么要麦迪逊?

来自分类Dev

为什么要串联?

来自分类Dev

为什么要调用?

来自分类Dev

为什么要令牌?

来自分类Dev

为什么要内联?

来自分类Dev

什么是Windows关键更新?以及为什么要安装它

来自分类Dev

为什么我的系统未使用Wayland,为什么我仍安装Wayland软件包?

来自分类Dev

未安装Cordova InAppBrowser插件

来自分类Dev

为什么Redmine插件安装失败?(使用bitnami redmine安装程序)

来自分类Dev

为什么未安装MSTest.exe?

来自分类Dev

为什么未安装MSTest.exe?

来自分类Dev

为什么未预先安装emacs?

来自分类Dev

为什么要避免使用子壳?

Related 相关文章

  1. 1

    为什么netbeans 8要安装未使用的cordova插件

  2. 2

    Netbeans默认使用逗号。为什么?

  3. 3

    为什么Netbeans无法使用Maven代理设置

  4. 4

    为什么NetBeans IDE专门使用import语句?

  5. 5

    为什么Netbeans中的Java 8劫持了我的浏览器中运行的Java 7?

  6. 6

    为什么在Netbeans 8中将java.util.Hashtable标记为“过时的集合”?

  7. 7

    为什么要安装OpenStack

  8. 8

    当我使用glassfish在netbeans上部署项目时,为什么tomcat正在运行?

  9. 9

    为什么当使用Powershell指定-Xms和-Xmx时,它们什么都不做,但是可以通过Netbeans IDE正常工作?

  10. 10

    为什么Jetbrains为什么要安装自己的JDK以便与IDE一起使用?

  11. 11

    为什么要“ MVN安装”战争项目?

  12. 12

    为什么要安装前端库?

  13. 13

    为什么不为Eclipse安装genymotion插件?

  14. 14

    安装cordova-mfp-push插件后,为什么不能在真正的ios设备上运行cordova应用程序?

  15. 15

    为什么要令牌?

  16. 16

    为什么要打印?

  17. 17

    为什么要麦迪逊?

  18. 18

    为什么要串联?

  19. 19

    为什么要调用?

  20. 20

    为什么要令牌?

  21. 21

    为什么要内联?

  22. 22

    什么是Windows关键更新?以及为什么要安装它

  23. 23

    为什么我的系统未使用Wayland,为什么我仍安装Wayland软件包?

  24. 24

    未安装Cordova InAppBrowser插件

  25. 25

    为什么Redmine插件安装失败?(使用bitnami redmine安装程序)

  26. 26

    为什么未安装MSTest.exe?

  27. 27

    为什么未安装MSTest.exe?

  28. 28

    为什么未预先安装emacs?

  29. 29

    为什么要避免使用子壳?

热门标签

归档