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 plugin #11

Open
awabbi opened this issue Jun 13, 2016 · 6 comments
Open

Unable to install plugin #11

awabbi opened this issue Jun 13, 2016 · 6 comments

Comments

@awabbi
Copy link

awabbi commented Jun 13, 2016

This command:

cordova plugin add com.dooble.audiotoggle

gives the following error:

Error: Registry returned 404 for GET on https://registry.npmjs.org/com.dooble.audiotoggle

Thanx

@pookie13
Copy link

pookie13 commented Jul 1, 2016

Hello dear,
I hope you are doing well. I was also using this plugin. so I used Cordova plugin add https://github.com/alongubkin/audiotoggle command on route directory to add this plugin.
or dear if you have found any other solution then please let me update for toggle speakers in Cordova.
in my scenario, I used ionic for development. when we run the same command then in plugin folder I found the same code and then I was able to run the same code.

@MrShakes
Copy link

Use --nofetch flag for Cordova 7+:
Cordova plugin add https://github.com/alongubkin/audiotoggle --nofetch

@JohnPekl
Copy link

For me this works:
$ ionic cordova plugin add cordova-plugin-audiotoggle --save

@wenjianli92
Copy link

wenjianli92 commented Jan 7, 2019

@JohnPekl
I use: $ ionic cordova plugin add cordova-plugin-audiotoggle --save
It is working in android,It is not working in ios。
Do you have the same problem?

@wenjianli92
Copy link

@JohnPekl
Do you have the same problem?

@thisisprateektyagi
Copy link

Failed to fetch plugin https://github.com/alongubkin/audiotoggle via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! code ENOPACKAGEJSON
npm ERR! package.json Non-registry package missing package.json: git+https://github.com/alongubkin/audiotoggle.git.
npm ERR! package.json npm can't find a package.json file in your current directory.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\anony\AppData\Roaming\npm-cache_logs\2019-01-31T14_33_01_320Z-debug.log
[ERROR] An error occurred while running subprocess cordova.

    cordova plugin add https://github.com/alongubkin/audiotoggle --save exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information

I'm getting this error

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

6 participants