ngcordova插件安装问题
发布于 1年前 作者 imkiven 1080 次浏览 来自 问答

E:\Workspaces\Android\CNCC>cordova plugin add https://github.com/litehelpers/Cordova-sqlite-storage.git Fetching plugin “https://github.com/litehelpers/Cordova-sqlite-storage.git” via git clone Repository “https://github.com/litehelpers/Cordova-sqlite-storage.git” checked out to git ref "master". shell.js: internal error Error: EXDEV, cross-device link not permitted ‘C:\Users\JinWu\AppData\Local\Temp\git\1439429125884\AUTHORS.md’ at Error (native) at Object.fs.renameSync (fs.js:636:18) at C:\Users\JinWu\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\mv.js:77:8 at Array.forEach (native) at Object._mv (C:\Users\JinWu\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\mv.js:53:11) at Object.mv (C:\Users\JinWu\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\shelljs\src\common.js:186:23) at C:\Users\JinWu\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\util\plugins.js:53:19 at _fulfilled (C:\Users\JinWu\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:787:54) at self.promiseDispatch.done (C:\Users\JinWu\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:816:30) at Promise.promise.promiseDispatch (C:\Users\JinWu\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:749:13)

在线安装会出现这个问题,那能不能手动安装?!
2 回复

可以,下载到本地 cordova plugin add 本地路径

直接用命令
发自 Ioniclub

回到顶部