我已经按照http://docs.phonegap.com/en/3.3.0/guide_cli_index.md.html#The%20Command-Line%20Interface进行操作。在Mac终端中输入:
错误信息为-
cordova create hello com.example.hello HelloWorld
错误信息为-
path.js:360
throw new TypeError('Arguments to path.join must be strings');
^
ypeError: 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 Object.<anonymous> (/usr/local/lib/node_modules/cordova/src/util.js:25:31)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
如果有人对错误的原因以及如何解决该问题有任何想法,请分享。
提前致谢!