When I execute the install command cordova plugin add cordova-browser --save the plugin is installed in my project.
What does actually happen?
When I execute the install command cordova plugin add cordova-browser --save the cordova-cli prints the error message Cannot find plugin.xml for plugin "cordova-browser". Running the command with --verbose option I get the following output:
$ cordova plugin add cordova-browser --verbose --save
No scripts found for hook "before_plugin_add".
No version specified for cordova-browser, retrieving version from config.xml
No version for cordova-browser saved in config.xml or package.json
Attempting to use npm info for cordova-browser to choose a compatible release
npm info for cordova-browser did not contain any engine info. Fetching latest release
Calling plugman.fetch on plugin "cordova-browser"
saving
Running command: npm install cordova-browser --production --save
Command finished with error code 0: npm install,cordova-browser,--production,--save
Error: Cannot find plugin.xml for plugin "cordova-browser". Please try adding it again.
Bug Report
Problem
Cannot install plugin in my project
What is expected to happen?
When I execute the install command
cordova plugin add cordova-browser --save
the plugin is installed in my project.What does actually happen?
When I execute the install command
cordova plugin add cordova-browser --save
the cordova-cli prints the error messageCannot find plugin.xml for plugin "cordova-browser"
. Running the command with--verbose
option I get the following output:Information
Command or Code
cordova plugin add cordova-browser --save
Environment, Platform, Device
Version information
I'm working on a Ionic project:
Checklist