mwa*_*ger 23 phonegap-plugins cordova
我做了一个cordova/phonegap升级,现在我不能再从git urls安装插件了.有人经历过这样的问题,已经解决了这个问题
$ cordova plugin add https://github.com/dawsonloudon/VideoPlayer.git
Fetching plugin "https://github.com/dawsonloudon/VideoPlayer.git" via git clone
Repository "https://github.com/dawsonloudon/VideoPlayer.git" checked out to git ref "master".
shell.js: internal error
Error: EXDEV, cross-device link not permitted '/var/folders/xl/bkl76rm570gfsmjspfjgh45h0000gn/T/git/1434106220728/LICENSE'
at Object.fs.renameSync (fs.js:554:18)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:77:8
at Array.forEach (native)
at Object._mv (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/mv.js:53:11)
at Object.mv (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/common.js:186:23)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/plugins.js:53:19
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44
Run Code Online (Sandbox Code Playgroud)
版本信息:
$ phonegap -v
5.0.0-0.28.1
$ cordova -v
5.1.1
Run Code Online (Sandbox Code Playgroud)
OSX 10.10.3
编辑:如果我将我的存储库移动到我的主目录(〜/)似乎它的工作原理.
Pia*_*M4n 25
快速解决方法是在本地克隆git并从那里提供路径.要使插件开始工作,只需要查看plugin.xml文件即可
所以cordova plugin add https://github.com/phonegap/phonegap-plugin-fast-canvas.git- 因为失败了
shell.js: internal error
Error: EXDEV, cross-device link not permitted '/ - Cordova 5.1.0+中的正常错误.适用于大多数(如果不是全部).git安装
本地克隆::
git clone https://github.com/phonegap/phonegap-plugin-fast-canvas.git
和本地安装
cordova plugin add /path/to/phonegap-plugin-fast-canvas
作品.
| 归档时间: |
|
| 查看次数: |
10630 次 |
| 最近记录: |