Andrew Grieve created CB-5702:
---------------------------------
Summary: platform add fails to install plugins if project has been
moved to another directory
Key: CB-5702
URL: https://issues.apache.org/jira/browse/CB-5702
Project: Apache Cordova
Issue Type: Bug
Components: CLI
Reporter: Andrew Grieve
Priority: Minor
{code}
./cordova-mobile-spec/createmobilespec.sh
mkdir tmp
cp -r mobilespec tmp
cd tmp/mobilespec
cordova rm ios
cordova add ios
{code}
What you get:
- All dependent plugins install fine
- First non-dependent plugin fails with:
{quote}
Starting installation of "org.cordova.mobile-spec-dependencies" for ios
/Users/agrieve/git/cordova/cordova-cli/node_modules/q/q.js:126
throw e;
^
Error: Failed to locate git repository for org.cordova.mobile-spec-dependencies
plugin.
at /Users/agrieve/git/cordova/cordova-plugman/src/install.js:278:57
at exithandler (child_process.js:633:7)
at ChildProcess.errorhandler (child_process.js:649:5)
at ChildProcess.EventEmitter.emit (events.js:95:17)
at Process.ChildProcess._handle.onexit (child_process.js:787:12)
{quote}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)