【发布时间】:2014-04-30 15:26:07
【问题描述】:
我刚刚创建了一个测试 cordova 项目,现在正尝试将一个简单的推送通知插件 (https://github.com/phonegap-build/PushPlugin) 添加到我的项目中。
我按照它的指示输入了这个:
cordova plugin add https://github.com/phonegap-build/PushPlugin.git
但立即,命令行失败并显示以下错误消息:
F:\Workplace\pushnotification\pushnotification>cordova plugin add https://github.com/phonegap-build/PushPlugin.git
Fetching plugin "https://github.com/phonegap-build/PushPlugin.git" via git clone
Error: Command failed: fatal: could not create work tree dir 'C:\Users\FRANV_~1\AppData\Local\Temp\plugman\git\1398870928641'.: No such file or directory
at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
我刚刚更新了我的 Tortoise GitHub,但并没有解决问题。
【问题讨论】: