Skip to content

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

@jaydrogers

Description

@jaydrogers

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

9.0.0 (cordova-lib@9.0.1)

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions