这是一个较旧的twitter插件的端口,我只是想使用PG> 3.0,我在IDE上可以正常工作,因此由于某些原因,我想与其他人共享,因为我尝试进行安装通过NPM它出错。我已经重新阅读了文件系统结构和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)
Git位于此处,https://github.com/ednasgoldfishuk/CDVPluginTwitter/tree/master
有任何想法吗?
它缺少</plugin>
plugin.xml中的Finishing标签,Github已更新,现在已确认可在PhoneGap 3.0 +上安装
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句