- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Build 3088 of Intel XDK. I am trying to install this plugin -> https://github.com/gbenvenuti/cordova-plugin-screen-orientation.git.
This worked fine in Build 2893. But now I get this Error:
Command failed: /Applications/Intel XDK.app/Contents/MacOS/git/bin/git --exec-path=/Applications/Intel XDK.app/Contents/MacOS/git/libexec/git-core -c init.templatedir=/Applications/Intel XDK.app/Contents/MacOS/git/share/git-core/templates clone https://github.com/gbenvenuti/cordova-plugin-screen-orientation.git /var/folders/vn/s5z45l5x0d3dmrg5dj0k71xh0000gn/T/git/1458795946943 --single-branch --depth=1 Cloning into '/var/folders/vn/s5z45l5x0d3dmrg5dj0k71xh0000gn/T/git/1458795946943'... error: Could not expand include path '~/.gitcinclude' fatal: bad config file line 49 in /usr/local/git/etc/gitconfig
I would like to get this from NPM (here), but, when I ask for v1.4.1, Intel XDK insists on installing v1.4.0. I try installing:
Third-party plugin \ cordova plugin registry \ plugin id = cordova-plugin-screen-orientation version = 1.4.1. No luck, 1.4.0 installs instead.
I have selected Cordova CLI version 5.4.1.
Help! How to solve?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That plugin is available from NPM under this name: cordova-plugin-screen-orientation and, unfortunately, the version number inside the plugin.xml file was not updated to say 1.4.1 (see https://github.com/gbenvenuti/cordova-plugin-screen-orientation/blob/master/plugin.xml#L5), even though that is what it says on NPM (bad updates by the plugin author). Thus, once you install it, the XDK will report 1.4.0 because that's what the plugin.xml file says...
To include this from NPM, do the following:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
oh crap, i didn't think to check the plugin author's xml...

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page