ConnectSDK / Connect-SDK-Cordova-Plugin

Cordova/PhoneGap plugin for Connect SDK
Apache License 2.0
69 stars 46 forks source link

Installing error #70

Open Sibren opened 6 years ago

Sibren commented 6 years ago

I am installing this in Visual Studio 2017. It gives me the following output:

Installing plugin 'cordova-plugin-connectsdk' No scripts found for hook "before_plugin_add". No version specified for cordova-plugin-connectsdk, retrieving version from config.xml No version for cordova-plugin-connectsdk saved in config.xml Attempting to use npm info for cordova-plugin-connectsdk to choose a compatible release npm info for cordova-plugin-connectsdk did not contain any engine info. Fetching latest release Calling plugman.fetch on plugin "cordova-plugin-connectsdk" Fetching plugin "cordova-plugin-connectsdk" via npm Copying plugin "C:\Users\Sibren\AppData\Roaming\npm-cache\cordova-plugin-connectsdk\1.6.0\package" => "C:\Development\funnygames\src\MobileApp\MobileApp\plugins\cordova-plugin-connectsdk" Calling plugman.install on plugin "C:\Development\funnygames\src\MobileApp\MobileApp\plugins\cordova-plugin-connectsdk" for platform "android Installing "cordova-plugin-connectsdk" for android Running command: cmd "/s /c "C:\Development\funnygames\src\MobileApp\MobileApp\platforms\android\cordova\version.bat"" Command finished with error code 0: cmd /s /c "C:\Development\funnygames\src\MobileApp\MobileApp\platforms\android\cordova\version.bat" Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-connectsdk on android platform only. No scripts found for hook "before_plugin_install". Install start for "cordova-plugin-connectsdk" on android. Beginning processing of action stack for android project... Installing Android library: Connect-SDK-Android Action stack processing complete. Updating build files since android plugin contained <framework> Install complete for cordova-plugin-connectsdk on android. Finding scripts for "after_plugin_install" hook from plugin cordova-plugin-connectsdk on android platform only. Executing script found in plugin cordova-plugin-connectsdk for hook "after_plugin_install": plugins\cordova-plugin-connectsdk\scripts\android-install.js Starting ConnectSDK Android install Checking for updated configuration No scripts found for hook "after_plugin_add". Error checking for updates, using default configuration (install might fail) Cloning Connect-SDK-Android repository (tags/1.6.0) Encountered an error, reverting install steps ConnectSDK Android install reverted { [Error: Command failed: C:\Windows\system32\cmd.exe /s /c "git checkout tags/1.6.0" error: pathspec 'tags/1.6.0' did not match any file(s) known to git. ] killed: false, code: 1, signal: null, cmd: 'C:\\Windows\\system32\\cmd.exe /s /c "git checkout tags/1.6.0"' } Done

I also tried installing it via cmd, as the readme suggested, but I get the same error.

I am using W10, running everything as admin. What can I do to fix this?

nerows commented 6 years ago

I get the same error even by downloading the node.js version .... I think the project has died...:(

nerows commented 6 years ago

fail in Android, on iOS ok..

mrdu3nde commented 6 years ago

alguien encontró una solución para este error? han probado con otras versiones?

ClosetGeek-Git commented 6 years ago

same issue. downgraded cordova to 5.2.0 (as per http://www.svlconnectsdk.com/docs/1-6-0/cordova/setup-instructions/). Downgraded node.js to 5.12 as stated for cordova-cli compatibility. no fix?