[AC-775] Can't run projects after installing Studio. TI info won't work either.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Cannot Reproduce |
| Resolution Date | 2015-09-15T07:02:20.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Alloy, Studio |
| Labels | android, install, longjohn.js, windows7 |
| Reporter | Sean Murphy |
| Assignee | Shak Hossain |
| Created | 2014-09-03T05:47:23.000+0000 |
| Updated | 2016-03-08T07:37:02.000+0000 |
Description
So after following these instructions (i downloaded the latest installer) http://docs.appcelerator.com/titanium/3.0/#!/guide/Setting_up_Studio-section-37540095_SettingupStudio-Overview
and adding the environment variables to PATH which had PATH as their env var on this list: http://docs.appcelerator.com/titanium/3.0/#!/guide/Software_Locations_and_Environment_Variables
If I start a new project and try to run it I get this error. If I try TI info in the console it happens as well.
c:\Users\Swan\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:185
throw e;
^
TypeError: Bad argument
at ChildProcess.spawn (child_process.js:915:24)
at exports.spawn (child_process.js:715:9)
at async.parallel.powershell (C:\ProgramData\Titanium\mobilesdk\win32\3.3.0.RC2\node_modules\titanium-sdk\lib\windows.js:385
:14)
at C:\ProgramData\Titanium\mobilesdk\win32\3.3.0.RC2\node_modules\async\lib\async.js:524:25
at C:\ProgramData\Titanium\mobilesdk\win32\3.3.0.RC2\node_modules\async\lib\async.js:111:13
at Array.forEach (native)
at _each (C:\ProgramData\Titanium\mobilesdk\win32\3.3.0.RC2\node_modules\async\lib\async.js:32:24)
at async.each (C:\ProgramData\Titanium\mobilesdk\win32\3.3.0.RC2\node_modules\async\lib\async.js:110:9)
at _parallel (C:\ProgramData\Titanium\mobilesdk\win32\3.3.0.RC2\node_modules\async\lib\async.js:523:20)
at async.parallel (C:\ProgramData\Titanium\mobilesdk\win32\3.3.0.RC2\node_modules\async\lib\async.js:539:9)
If I need to give more info please tell me what you want to know! I wasn't sure what else I should put in.
Hi Sean, Not sure if this is still an issue for you. I tested the issue you reported. It looks like the feature "*Run a project and Ti info*" in Appcelerator Studio on Windows 7 is working fine for me. I tested this using the studio build: 4.1.1.201507141126. I recommend you upgrade studio to the latest build and let us know if you get the error again. I will mark this ticket as "resolved" since I can't reproduce it. However, feel free to reopen with additional information if you notice otherwise. Thanks