Plugins 错误';path.join的参数必须是字符串';添加自定义插件Phonegap 3.0时

Plugins 错误';path.join的参数必须是字符串';添加自定义插件Phonegap 3.0时,plugins,cordova,npm,Plugins,Cordova,Npm,这是一个较旧的twitter插件的端口,我只是尝试使用PG>3.0,我在IDE上工作得很好,所以我想与其他人分享,因为某些原因,当我尝试通过NPM it错误进行安装时。我已经重新阅读了文件系统结构和plugin.xml规范,没有看到任何错误 我甚至从CDVPluginTwitter更改了插件的ID,以防前缀抛出错误,但我仍然得到 path.js:360 throw new TypeError('Arguments to path.join must be strings');

这是一个较旧的twitter插件的端口,我只是尝试使用PG>3.0,我在IDE上工作得很好,所以我想与其他人分享,因为某些原因,当我尝试通过NPM it错误进行安装时。我已经重新阅读了文件系统结构和plugin.xml规范,没有看到任何错误

我甚至从CDVPluginTwitter更改了插件的ID,以防前缀抛出错误,但我仍然得到

path.js:360
        throw new TypeError('Arguments to path.join must be strings');
              ^
TypeError: Arguments to path.join must be strings
    at path.js:360:15
    at Array.filter (native)
    at Object.exports.join (path.js:358:36)
    at /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/util/plugins.js:72:39
    at /usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
    at ChildProcess.exithandler (child_process.js:635:7)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Socket.<anonymous> (child_process.js:948:11)
    at Socket.EventEmitter.emit (events.js:95:17)
path.js:360
抛出新的TypeError('path.join的参数必须是字符串');
^
TypeError:path.join的参数必须是字符串
在path.js:360:15
at Array.filter(本机)
在Object.exports.join(path.js:358:36)
在/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/plugman/src/util/plugins.js:72:39
at/usr/local/lib/node_modules/phonegap/node_modules/cordova/node_modules/shelljs/shell.js:1707:7
在ChildProcess.exithandler(child_process.js:635:7)
在ChildProcess.EventEmitter.emit(events.js:98:17)
在maybeClose(child_process.js:735:16)
在插座上


有什么想法吗?

它缺少plugin.xml中的finishing
标记,Github已经更新,现在被确认可以安装在PhoneGap 3.0+

它缺少plugin.xml中的finishing
标记,Github已经更新,现在被确认可以安装在PhoneGap 3.0+

非常感谢,我错过了结束插件标签上的斜线,正在疯狂地寻找错误。非常感谢,我错过了结束插件标签上的斜线,正在疯狂地寻找错误。