Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install #2

Open
AlibekJ opened this issue Aug 9, 2021 · 1 comment
Open

Fails to install #2

AlibekJ opened this issue Aug 9, 2021 · 1 comment

Comments

@AlibekJ
Copy link

AlibekJ commented Aug 9, 2021

Tried installing the plugin using
cordova plugin add blinkcard-cordova
and it failed.

Platform: Android
Plain vanilla Ubuntu 20.04
cordova-android: 9.1.0

Steps to reproduce:

cordova create myapp com.myapp.myapp myapp
cd myapp
cordova platform add android
cordova plugin add blinkcard-cordova

It fails with

Failed to fetch plugin blinkcard-cordova via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
CordovaError: Error: npm: Command failed with exit code 127 Error output:
npm ERR! code 127
npm ERR! path /home/alibek/Projects/trash/blinkCard/node_modules/blinkcard-cordova
npm ERR! command failed
npm ERR! command sh -c sh scripts/initIOSFramework.sh
npm ERR! Couldn't find Microblink bundle. Will extract it from 'blinkcard-ios.zip'..
npm ERR! Couldn't find Microblink framework's package 'blinkcard-ios.zip'. Downloading..
npm ERR! Unzipping blinkcard-ios.zip
npm ERR! Unzipped blinkcard-ios.zip
npm ERR! Removing unnecessary files
npm ERR! scripts/initIOSFramework.sh: 5: pushd: not found
npm ERR!  28550K .......... .......... .......... .......... .......... 98% 16.8M 0s
npm ERR!  28600K .......... .......... .......... .......... .......... 98% 5.10M 0s
npm ERR!  28650K .......... .......... .......... .......... .......... 99% 11.4M 0s
npm ERR!  28700K .......... .......... .......... .......... .......... 99% 6.08M 0s
npm ERR!  28750K .......... .......... .......... .......... .......... 99% 11.4M 0s
npm ERR!  28800K .......... .......... .......... .......... .......... 99% 14.4M 0s
npm ERR!  28850K .......... .......... .......... .......... .......... 99% 5.46M 0s
npm ERR!  28900K .......... .......... .......... .......... .......... 99% 23.7M 0s
npm ERR!  28950K ...                                                   100% 6368G=3.1s2021-08-09 15:55:57 URL:https://github-releases.githubusercontent.com/180787423/5c6b1300-51ab-11ea-9a20-e77cc3a5ffca?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210809%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210809T195554Z&X-Amz-Expires=300&X-Amz-Signature=f90978bb02fd74abe645a9e77d21bc0e4a33f15e3192d00a8f0651d68f99d64d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=180787423&response-content-disposition=attachment%3B%20filename%3Dblinkcard-ios_v1.1.0.zip&response-content-type=application%2Foctet-stream [29648219/29648219] -> "blinkcard-ios.zip" [1]
npm ERR! scripts/initIOSFramework.sh: 40: popd: not found

@AlibekJ
Copy link
Author

AlibekJ commented Aug 10, 2021

As a workaround until the proper installation method is fixed:

cordova plugin add blinkcard-cordova --searchpath  your_path_to_the_plugin/blinkcard-cordova/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant