2013-09-18 2 views
0

При попытке добавить плагин, я получаю следующее сообщение об ошибке:PhoneGap - не может добавить плагин с помощью CLI

phonegap local plugin add https://git-wip-us.apache.org 
    /repos/asf/cordova-plugin-device.git 
    [phonegap] adding the plugin: https://git-wip-us.apache.org/repos/asf/cordova-pl 
    ugin-device.git 

    fs.js:427 
     return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); 
        ^
    Error: ENOENT, no such file or directory 'C:\DOCUME~1\k\USTAWI~1\Temp\plugma 
    n-tmp1379488251610\plugin.xml' 
     at Object.fs.openSync (fs.js:427:18) 
     at Object.fs.readFileSync (fs.js:284:15) 
     at Object.module.exports.parseElementtreeSync (C:\Documents and Settings\k\Dane aplikacji\npm\node_modules\phonegap\node_modules\cordova\node_modules\pl 
    ugman\src\util\xml-helpers.js:107:27) 
     at C:\Documents and Settings\k\Dane aplikacji\npm\node_modules\phonegap\ 
    node_modules\cordova\node_modules\plugman\src\util\plugins.js:67:39 
     at C:\Documents and Settings\k\Dane aplikacji\npm\node_modules\phonegap\ 
    node_modules\cordova\node_modules\shelljs\shell.js:1707:7 
     at ChildProcess.exithandler (child_process.js:641:7) 
     at ChildProcess.EventEmitter.emit (events.js:98:17) 
     at maybeClose (child_process.js:735:16) 
     at Process.ChildProcess._handle.onexit (child_process.js:802:5) 

Я попытался решить эту проблему, используя советы от here, но это ничего не меняет.

Будем очень благодарны за любые предложения по решению этой проблемы.

+0

Какая версия PhoneGap кли вы используете? – mooreds

+0

3.0.0-0.14.3 -> это то, что печатает "phonegap --version" – cichystefan

ответ

0

Если кто-то имел подобную проблему с PhoneGap на Windows - установка последней версии Git решает все проблемы ...

Смежные вопросы