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 #50

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

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

jaydrogers opened this issue Apr 22, 2019 · 2 comments

Comments

@jaydrogers
Copy link

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

Expected results

  • Plugin should install without errors

Actual results

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

Additional notes

Thanks again for putting this together!!

@jaydrogers jaydrogers changed the title New plugin install displays error New Plugin install generates error: Failed to restore plugin Apr 22, 2019
@yheisonroa
Copy link

I have a similar problem, this is my console:

tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

It shows me an error with the file install-android.sh.

I'm on mac

@NeoLegends
Copy link
Member

See #54 for more info. Tl; dr: Spotify removed the SDK from their website and broke the plugin completely. Your tar is probably trying to extract the 404 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

3 participants