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

Does the plugin need a package.json? #1

Open
JohnMcLear opened this issue Mar 10, 2018 · 1 comment
Open

Does the plugin need a package.json? #1

JohnMcLear opened this issue Mar 10, 2018 · 1 comment

Comments

@JohnMcLear
Copy link
Contributor

cordova plugin add https://github.com/zenput/cordova-plugin-uwp-oauth
(node:22424) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Failed to fetch plugin https://github.com/zenput/cordova-plugin-uwp-oauth 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/zenput/cordova-plugin-uwp-oauth.git.
npm ERR! package.json npm can't find a package.json file in your current directory.
@davidofwatkins
Copy link
Contributor

Hi @JohnMcLear, thanks for pointing this out! I believe you're seeing this because the plugin was built using Cordova 6.x, and plugins require a package.json as of Cordova 7. I'll make a note of this in our Readme.

If you're willing, feel free to submit a PR with a package.json tested against Cordova 7+. Otherwise, we'll address it when we can!

@JohnMcLear JohnMcLear mentioned this issue Mar 14, 2018
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