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

Double "and cannot be removed" in a warning message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Master
    • None
    • cordova-lib

    Description

      C:\Cordova>cordova create test-app
      Creating a new cordova project.
      
      C:\Cordova>cd test-app
      
      C:\Cordova\test-app>cordova platform add windows
      Adding windows project...
      Creating Cordova Windows Project:
              App Name  : HelloCordova
              Namespace : io.cordova.hellocordova
              Path      : C:\Cordova\test-app\platforms\windows
      Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the project
      Fetching plugin "cordova-plugin-whitelist@1" via npm
      Installing "cordova-plugin-whitelist" for windows
      
      C:\Cordova\test-app>cordova plugin add cordova-plugin-camera cordova-plugin-contacts
      Fetching plugin "cordova-plugin-camera" via npm
      Installing "cordova-plugin-camera" for windows
      Fetching plugin "cordova-plugin-compat" via npm
      Installing "cordova-plugin-compat" for windows
      Fetching plugin "cordova-plugin-contacts" via npm
      Installing "cordova-plugin-contacts" for windows
      Dependent plugin "cordova-plugin-compat" already installed on windows.
      
      C:\Cordova\test-app>cordova plugin rm camera
      Uninstalling cordova-plugin-camera from windows
      Removing "cordova-plugin-camera"
      "cordova-plugin-compat" is required by (cordova-plugin-contacts) and cannot be removed (hint: use -f or --force) and cannot be removed (hint: use -f or --force)
      
      C:\Cordova\test-app>
      

      Expected warning:

      "cordova-plugin-compat" is required by (cordova-plugin-contacts) and cannot be removed (hint: use -f or --force)
      

      Actual warning:

      "cordova-plugin-compat" is required by (cordova-plugin-contacts) and cannot be removed (hint: use -f or --force) and cannot be removed (hint: use -f or --force)
      

      Attachments

        Activity

          People

            riknoll Richard B Knoll
            alsorokin Alexander Sorokin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: