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

add plugin with license to project fails #92

Open
pcvengros opened this issue Nov 16, 2018 · 5 comments
Open

add plugin with license to project fails #92

pcvengros opened this issue Nov 16, 2018 · 5 comments

Comments

@pcvengros
Copy link

pcvengros commented Nov 16, 2018

cordova-android 7.1.2
cordova 8.1.2

without android platform added to project I have added keyboard plugin with license
after that I have added android platform: cordova platform add android

result:
Installing "cordova-plugin-native-keyboard" for android
Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-native-keyboard': TypeError [ERR_INVALID_ARG_TYPE]: Uh oh!
The "path" argument must be of type string. Received type undefined
at assertPath (path.js:39:11)
at Object.resolve (path.js:1088:7)

@pcvengros
Copy link
Author

workaround for now - add plugin to project without license - do search&replace for word "TRIAL" and replace it with License number :)...

@pcvengros
Copy link
Author

pcvengros commented Dec 9, 2018

please see my PR: #94

@dmastag
Copy link

dmastag commented Feb 7, 2019

I tried using your PR by doing
cordova plugin add https://github.com/securCom/cordova-plugin-native-keyboard.git

And then running
cordova platform add [email protected]

But I am still getting the following

Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-native-keyboard': TypeError [ERR_INVALID_ARG_TYPE]: Uh oh!
The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:125:11)
    at Object.resolve (path.js:161:7)

It looks like it works if using cordova-android 7.1.4 but I have this problem in it that prevents me to update
apache/cordova-android#599

@pcvengros
Copy link
Author

What cordova version?

I tried using your PR by doing
cordova plugin add https://github.com/securCom/cordova-plugin-native-keyboard.git

And then running
cordova platform add [email protected]

But I am still getting the following

Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-native-keyboard': TypeError [ERR_INVALID_ARG_TYPE]: Uh oh!
The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:125:11)
    at Object.resolve (path.js:161:7)

It looks like it works if using cordova-android 7.1.4 but I have this problem in it that prevents me to update
apache/cordova-android#599

@dmastag
Copy link

dmastag commented Feb 7, 2019

I am on the latest 8.1.2
Happy to say that my build is working as intended.

So [email protected] not working with your pull request
[email protected] is working fine

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

2 participants