Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16961

Build fails with error 'Object.keys called on non-object'

    Details

    • Sprint:
      2014 Sprint 10 Tooling

      Description

      Description:

      1. Use the environment mentioned to produce the issue.
      2. Create an alloy & classic app in studio.
      3. Build/run on device/emulator on any platform.

      Actual Result:

      1. The build fails & we get the following errors:

      C:\Users\Tester\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:185
              throw e;
                    ^
      TypeError: Object.keys called on non-object
          at Function.keys (native)
          at async.parallel.devices (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\titanium-sdk\lib\windows.js:331:23)
          at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:524:25
          at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:111:13
          at Array.forEach (native)
          at _each (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:32:24)
          at async.each (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:110:9)
          at _parallel (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:523:20)
          at async.parallel (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:539:9)
          at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\titanium-sdk\lib\windows.js:290:9
      ---------------------------------------------
          at Object.run (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\node-appc\lib\subprocess.js:59:8)
          at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\titanium-sdk\lib\windows.js:186:22
          at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:511:21
          at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:227:13
          at C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:111:13
          at Array.forEach (native)
          at _each (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:32:24)
          at async.each (C:\Users\Tester\AppData\Roaming\Titanium\mobilesdk\win32\3.3.0.v20140514121712\node_modules\async\lib\async.js:110:9)
      

      Expected Result:

      1. The app should Build/Run fine without any errors.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              lchoudhary Lokesh Choudhary
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18706
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code