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

Prepare fails when using scoped packages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Master
    • None
    • cordova-lib
    • None

    Description

      When adding a plugin to a project, cordova will fail if the plugin is hosted under an npm scope.

      The scope is cut off when searching for the installation folder on disk:

      
      Discovered plugin "@fairmanager/cordova-plugin-push" in config.xml. Adding it to the project
      Failed to restore plugin "@fairmanager/cordova-plugin-push" from config.xml. You might need to try adding it again. Error: Cannot find plugin.xml for plugin "cordova-plugin-push". Please try adding it again.
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              OliverSalzburg Oliver Salzburg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: