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

Unable to install. #44

Open
thecoleorton opened this issue Nov 8, 2018 · 7 comments
Open

Unable to install. #44

thecoleorton opened this issue Nov 8, 2018 · 7 comments

Comments

@thecoleorton
Copy link

I'm unable to install this plugin. Has anyone tried lately? Is this plugin still supported? If not, are there any alternatives?

@gifthlong
Copy link

gifthlong commented Nov 12, 2018

I'm unable to install this plugin. Has anyone tried lately? Is this plugin still supported? If not, are there any alternatives?

$ cordova -v 8.1.2 (cordova-lib@8.1.1)

node --version v10.13.0

cordova android 7.1.2

$ cordova plugin add https://github.com/phonegap/phonegap-mobile-accessibility.git
Failed to fetch plugin https://github.com/phonegap/phonegap-mobile-accessibility.git via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received type undefined

@thecoleorton
Copy link
Author

@gifthlong, hmm, ok, so, you couldn't install it either. hmm.

@gifthlong
Copy link

@gifthlong, hmm, ok, so, you couldn't install it either. hmm.

It appears to be intermittent however ¯_(ツ)_/¯

@Pulkit-Sharma
Copy link

@thecoleorton @gifthlong you guys were able to isntall? I downloaded it to my laptop and then installed, it got installed but not showing in config.xml.

Any idea?

@ruettenm
Copy link

We had the same issue and i debugged it a bit deeper. It looks like there is an naming conflict 🙈

The plugin repo is called phonegap-mobile-accessibility and the package name is phonegap-plugin-mobile-accessibility. In the latests version of cordova the plugins are install via npm.

cordova-fetch installes the plugin into phonegap-plugin-mobile-accessibility and verifies that it is installed under phonegap-mobile-accessibility. (serach for "Failed to get absolute path to installed module").

To fix this: just change the name in the package.json to phonegap-plugin-mobile-accessibility ;-)

@evxzibit
Copy link

Good day guys, an luck on this? I am having the same issue

$ cordova -v 8.1.2 (cordova-lib@8.1.1)

node --version v10.13.0

cordova android 7.1.2

@john-ibsa
Copy link

If anyone is still having issues with this. Try using a lower node version.

Problem was experienced with v15 and downgrading to v12 using nvm solved the issues.

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

No branches or pull requests

6 participants