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

does not install local plugin when specified with a trailing slash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • cordova-plugman
    • None

    Description

      ./main.js --platform ios --plugin /tmp/ChildBrowser/ --project /tmp/cordova-example/
      Error: ENOENT, no such file or directory '/tmp/cordova-example/cordova/plugins/ChildBrowser/plugin.xml'
          at Object.fs.openSync (fs.js:427:18)
          at Object.fs.openSync (/Users/anis/Projects/cordova/plugman/node_modules/glob/node_modules/graceful-fs/graceful-fs.js:68:26)
          at Object.fs.readFileSync (fs.js:284:15)
          at runInstall (/Users/anis/Projects/cordova/plugman/src/install.js:37:27)
          at /Users/anis/Projects/cordova/plugman/src/install.js:27:17
          at Object.fetchPlugin [as fetch] (/Users/anis/Projects/cordova/plugman/src/fetch.js:42:23)
          at Object.installPlugin [as install] (/Users/anis/Projects/cordova/plugman/src/install.js:22:31)
          at Object.<anonymous> (/Users/anis/Projects/cordova/plugman/main.js:92:13)
          at Module._compile (module.js:456:26)
          at Object.Module._extensions..js (module.js:474:10)
      

      Attachments

        Activity

          People

            anis Anis Kadri
            anis Anis Kadri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: