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

Cannot add inAppBrowser plugin for android platform

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.4.0
    • None
    • cordova-android
    • Xubuntu 13.10 64bit

    Description

      Steps to reproduce:

      cordova -v
      3.4.0-0.1.3

      cordova create test
      cd test
      cordova platform add android
      cordova plugin add org.apache.cordova.inappbrowser

      Error: ENOENT, no such file or directory '/xxx/test/plugins/org.apache.cordova.inappbrowser/www/inappbrowser.js'
      at Object.fs.openSync (fs.js:427:18)
      at Object.fs.readFileSync (fs.js:284:15)
      at /.../node_modules/cordova/node_modules/plugman/src/prepare.js:182:36
      at Array.forEach (native)
      at /.../node_modules/cordova/node_modules/plugman/src/prepare.js:162:19
      at Array.forEach (native)
      at Object.handlePrepare (/.../node_modules/cordova/node_modules/plugman/src/prepare.js:128:24)
      at /.../node_modules/cordova/node_modules/plugman/src/install.js:420:33
      at _fulfilled (/.../node_modules/cordova/node_modules/q/q.js:798:54)
      at self.promiseDispatch.done (/.../node_modules/cordova/node_modules/q/q.js:827:30)

      (replaced cordova installation directory with /.../, project directory with /xxx/)

      I have installed cordova locally with npm (into /.../ directory)

      npm install cordova@3.4.0-0.1.3
      and set PATH to /.../node_modules/cordova/bin

      same is reproducible with 3.4.0-rc2

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              novakmi Michal Novak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: