phonegap / phonegap-mobile-accessibility

PhoneGap plugin to expose mobile accessibility APIs.
Apache License 2.0
145 stars 94 forks source link

Unable to install. #44

Open thecoleorton opened 6 years ago

thecoleorton commented 6 years ago

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

gifthlong commented 6 years ago

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 commented 6 years ago

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

gifthlong commented 6 years ago

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

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

Pulkit-Sharma commented 6 years ago

@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 commented 5 years ago

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 commented 5 years ago

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

jgb-ibsa commented 3 years ago

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.