Project: titanium
Issue TIMOB-18340: Windows: Error during compilation - TypeError: Cannot read property 'visualstudio' of undefined
Brand new install, get this error on a brand-new CLI created project (ti create -p windows): {code} PS C:\Users\Shannon\Desktop\helloworld> ti build -p windows -T wp-emulator -C 8-1-1 --wp-publisher-guid 00000000-0000-10 00-8000-000000000000 C:\Users\Shannon\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:185 throw e; ^ TypeError: Cannot read property 'visualstudio' of undefined at MobileWebBuilder. (C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\mobileweb\cli\hooks\w indows.js:107:10) at C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\node_modules\windowslib\index.js:94:5 at done (C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\node_modules\windowslib\node_modules\async\li b\async.js:129:15) at C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\node_modules\windowslib\node_modules\async\lib\asyn c.js:32:16 at C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\node_modules\windowslib\index.js:89:5 at C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\node_modules\windowslib\lib\env.js:111:5 at C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\node_modules\windowslib\node_modules\async\lib\asyn c.js:254:17 at C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\node_modules\windowslib\node_modules\async\lib\asyn c.js:151:21 at C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\node_modules\windowslib\node_modules\async\lib\asyn c.js:251:21 at C:\ProgramData\Titanium\mobilesdk\win32\3.6.0.v20150107091442\node_modules\windowslib\node_modules\async\lib\asyn c.js:615:34 PS C:\Users\Shannon\Desktop\helloworld> ti build -p windows -T wp-emulator -C 8-1-1 --wp-publisher-guid 00000000-0000-10 00-8000-000000000000 {code} The only thing that was odd about this install was that I installed everything while running Windows 8.1.... Home? I updated to Windows 8.1 Pro after getting an error about hyper-v not being supported on my edition of Windows. Don't know if it's related. I tried creating a new project with Ti 3.6.0.v20150107091442 on an existing VMWare install, and it's working there... so it's not this version of the SDK creating a bad project.
Story points: 5