Cordova Custom Plugin"对path.join的参数必须是字符串"

时间:2014-04-08 17:51:37

标签: android git android-intent cordova cordova-plugins

我正在尝试更新找到的here插件,以便与cordova 3.4.0配合使用。

GitHub repo

当我尝试从顶级项目文件夹中将插件添加到我的项目时,我收到错误:

cordova plugin add "https://github.com/Xul13/cordova-mediascanner-plugin"
Fetching plugin "https://github.com/Xul13/cordova-mediascanner-plugin" via git clone

Installing org.xul13.scanmedia (android)
Error during processing of action! Attempting to revert...
TypeError: Uh oh!
Arguments to path.join must be strings
    at f (path.js:204:15)
    at Object.filter (native)
    at Object.exports.join (path.js:209:40)
    at module.exports.source-file.install (C:\Users\brycem\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\
    at Object.ActionStack.process (C:\Users\brycem\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\util\act
    at handleInstall (C:\Users\brycem\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\install.js:415:20)
    at C:\Users\brycem\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\install.js:354:20
    at _fulfilled (C:\Users\brycem\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:798:54)
    at self.promiseDispatch.done (C:\Users\brycem\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:827:30)
    at Promise.promise.promiseDispatch (C:\Users\brycem\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:760:13)

我认为这只是plugins.xml文件中的一个简单错误,但在将其与其他工作存储库进行比较时却没有找到任何内容。

0 个答案:

没有答案