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

Failed to fetch plugin via registry #1

Open
EduardoBarrero opened this issue Nov 2, 2017 · 0 comments
Open

Failed to fetch plugin via registry #1

EduardoBarrero opened this issue Nov 2, 2017 · 0 comments

Comments

@EduardoBarrero
Copy link

Hi,

I'm trying to install and I get the following error:

λ ionic cordova plugin add https://github.com/janpekarguru/cordova-plugin-multi-webview

cordova plugin add https://github.com/janpekarguru/cordova-plugin-multi-webview --save
× Running command - failed!
[ERROR] An error occurred while running cordova plugin add https://github.com/janpekarguru/cordova-plugin-multi-webview

    ... (exit code 1):

    Error: Failed to fetch plugin https://github.com/janpekarguru/cordova-plugin-multi-webview 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! file C:\Users\Eduardo\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-01fe35a8\package.json
    npm ERR! code EJSONPARSE
    npm ERR! Failed to parse json
    npm ERR! Unexpected token ] in JSON at position 227 while parsing near '...
    npm ERR!       "ios",
    npm ERR!     ]
    npm ERR!   },
    npm ERR!   "reposito...'
    npm ERR! File: C:\Users\Eduardo\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-01fe35a8\package.json
    npm ERR! Failed to parse package.json data.
    npm ERR! package.json must be actual JSON, not just JavaScript.
    npm ERR!
    npm ERR! Tell the package author to fix their package.json file. JSON.parse

    npm ERR! A complete log of this run can be found in:
    npm ERR!     C:\Users\Eduardo\AppData\Roaming\npm-cache\_logs\2017-11-02T10_16_43_577Z-debug.log

Please, any idea of what i'm doig wrong??

Many thanks

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