Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11252

Cordova-fetch fails to restore scoped plugins on prepare

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-fetch

    Description

      With

      <plugin name="@dpogue/cordova-plugin-wkwebview-engine" spec="~1.0.1" />

      in my config.xml, I get the following when running cordova prepare --fetch --verbose:

      Executing "after_prepare"  hook for all plugins.
      Discovered plugin "@dpogue/cordova-plugin-wkwebview-engine" in config.xml. Installing to the project
      Executing "before_plugin_add"  hook for all plugins.
      Calling plugman.fetch on plugin "@dpogue/cordova-plugin-wkwebview-engine@~1.0.1"
      Failed to restore plugin @dpogue/cordova-plugin-wkwebview-engine from config.xml. You might want to reinstall it again. Error: Cannot find plugin.xml for plugin 'node_modules'. Please try adding it again.
      Discovered plugin "@dpogue/cordova-plugin-crosswalk-webview" in config.xml. Installing to the project
      Executing "before_plugin_add"  hook for all plugins.
      

      Attachments

        Issue Links

          Activity

            People

              carynbear Caryn Tran
              dpogue Darryl Pogue
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: