[
https://issues.apache.org/jira/browse/CB-9246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remco Haszing closed CB-9246.
-----------------------------
> Installation of plugins from git fail
> -------------------------------------
>
> Key: CB-9246
> URL: https://issues.apache.org/jira/browse/CB-9246
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: Master
> Environment: Discovered using Ubuntu 15.04.
> Probably affects any system which has {{/tmp}} mounted on another partition
> than the Cordova project directory.
> Reporter: Remco Haszing
> Priority: Critical
> Fix For: 5.2.0
>
>
> Adding a plugin from git fails if {{/tmp}} is on another partition than the
> project directory.
> {code}
> $ cordova plugin add https://github.com/pwlin/cordova-plugin-file-opener2
> Fetching plugin "https://github.com/pwlin/cordova-plugin-file-opener2" via
> git clone
> Repository "https://github.com/pwlin/cordova-plugin-file-opener2" checked out
> to git ref "master".
> shell.js: internal error
> Error: EXDEV, cross-device link not permitted '/tmp/git/1435230944724/LICENSE'
> at Error (native)
> at Object.fs.renameSync (fs.js:636:18)
> at
> /usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:77:8
> at Array.forEach (native)
> at Object._mv
> (/usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:53:11)
> at Object.mv
> (/usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/common.js:186:23)
> at
> /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/plugins.js:53:19
> at _fulfilled (/usr/lib/node_modules/cordova/node_modules/q/q.js:787:54)
> at self.promiseDispatch.done
> (/usr/lib/node_modules/cordova/node_modules/q/q.js:816:30)
> at Promise.promise.promiseDispatch
> (/usr/lib/node_modules/cordova/node_modules/q/q.js:749:13)
> {code}
> To fix this the plugin files should be copied instead of linked.
> {{[email protected]}} is affected, but couldn't be selected from the version list.
> {{[email protected]}} and before are not affected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]