无法创建新项目“意外的输入结束”

时间:2013-11-01 10:51:47

标签: titanium

是否有人在Appcelerator Titanium Studio中创建新项目时遇到问题?

完成项目创建向导后,我遇到了这个错误:

[ERROR] :  SyntaxError: Error parsing C:\Users\User\AppData\Roaming\Titanium\mobilesdk\win32\3.1.3.GA\node_modules\titanium-sdk\package.json: Unexpected end of input
    at Object.parse (native)
    at readPackage (module.js:113:48)
    at tryPackage (module.js:123:13)
    at Module._findPath (module.js:190:18)
    at Module._resolveFilename (module.js:336:25)
    at Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (C:\Users\User\AppData\Roaming\Titanium\mobilesdk\win32\3.1.3.GA\cli\commands\create.js:8:10)
    at Module._compile (module.js:456:26)
---------------------------------------------
    at exports.execFile (child_process.js:691:9)
    at exports.exec (child_process.js:578:18)
    at C:\Users\User\AppData\Roaming\npm\node_modules\titanium\lib\titanium.js:42:6
    at exithandler (child_process.js:635:7)
    at EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Socket.<anonymous> (child_process.js:948:11)

0 个答案:

没有答案