Michal Novak created CB-6175:
--------------------------------

             Summary: Cannot add inAppBrowser plugin for android platform
                 Key: CB-6175
                 URL: https://issues.apache.org/jira/browse/CB-6175
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.4.0
         Environment: Xubuntu 13.10 64bit
            Reporter: Michal Novak


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to