Pushwoosh CLI error


#1

I am using pushwoosh plugin in my app when i run (cordova plugin add https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin.git) on command line i getting following error.

D:\Projects\push>cordova plugin add https://github.com/Pushwoosh/pushwoosh-phone
gap-3.0-plugin.git
Fetching plugin "https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin.git"
via git clone
Repository “https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin.git” chec
ked out to git ref “master”.
shell.js: internal error
Error: EXDEV, cross-device link not permitted 'C:\Users\ISPLEN~1\AppData\Local\T
emp\git\1435729120357\Documentation’
at Error (native)
at Object.fs.renameSync (fs.js:636:18)
at C:\Users\ISplendid\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\ISplendid\AppData\Roaming\npm\node_modules\cordova\n
ode_modules\cordova-lib\node_modules\shelljs\src\mv.js:53:11)
at Object.mv (C:\Users\ISplendid\AppData\Roaming\npm\node_modules\cordova\no
de_modules\cordova-lib\node_modules\shelljs\src\common.js:186:23)
at C:\Users\ISplendid\AppData\Roaming\npm\node_modules\cordova\node_modules
cordova-lib\src\plugman\util\plugins.js:53:19
at _fulfilled (C:\Users\ISplendid\AppData\Roaming\npm\node_modules\cordova\n
ode_modules\q\q.js:787:54)

Any suggestion or help please
Thank you


#2

You are trying to make rename operations between partitions and thats not allowed i think.
It is typically a windows-problem… because they introduced the irrelevant usage of partitions^^.

Your project lies D:\Projects\push, but your sources are there C:\Users\ISplendid\AppData\Roaming\npm\node_modules\cordova…

create your project on partition C and it should work


#3

apparently a cordova 5.1.1 issue. you can bypass it this way

git clone https://github.com/driftyco/ionic-plugins-deploy
cordova plugin add ionic-plugins-deploy

The plugin gets extracted to /ionic-plugins-deploy/ which you can add :smile: