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

New Plugin install generates error: Failed to restore plugin #21

Open
jaydrogers opened this issue Apr 22, 2019 · 0 comments
Open

New Plugin install generates error: Failed to restore plugin #21

jaydrogers opened this issue Apr 22, 2019 · 0 comments

Comments

@jaydrogers
Copy link

jaydrogers commented Apr 22, 2019

Background on the issue

When I attempt to install the plugin into a new cordova project, it is creating an error on install.

My Cordova version

Command I am running

cordova plugin add cordova-spotify-oauth

Expected results

  • Plugin should install without errors

Actual results

Adding cordova-spotify-oauth to package.json
Saved plugin info for "cordova-spotify-oauth" to config.xml
Failed to restore plugin "cordova-spotify-oauth" from config.xml. You might need to try adding it again. Error: Error: Cannot find module '../cordova/platform_metadata'

Additional notes

Thanks for putting this plugin together! You guys rock!!

@jaydrogers jaydrogers changed the title New plugin install displays generates error New plugin install displays error Apr 22, 2019
@jaydrogers jaydrogers changed the title New plugin install displays error New Plugin install generates error: Failed to restore plugin Apr 22, 2019
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