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

Windows: CLI errors when using a Windows specific app id and building for ws-local

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.1, Release 6.2.0
    • Fix Version/s: Release 6.2.0
    • Component/s: CLI, Windows
    • Labels:
      None
    • Environment:

      Windows 10 Pro
      Ti SDK: 6.2.0.v20170630062735

    • Sprint:
      2017 Sprint 14 Tooling

      Description

      Description

      When building for ws-local and using a windows specific app id the CLI will error with the below

      app does not already exist

      [ERROR] Error: Unable to find an installed app with id: com.appc.test
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:177:13
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:157:3
          at ChildProcess.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\node-appc\lib\subprocess.js:60:3)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
      ---------------------------------------------
          at Object.run (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\node-appc\lib\subprocess.js:59:8)
          at getAppxPackages (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:120:18)
          at Object.loopbackExempt (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:171:2)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\windows\cli\hooks\ws-run.js:174:26
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:3816:26
          at replenish (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:982:17)
          at iterateeCallback (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:967:17)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:944:16
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:3821:13
      ---------------------------------------------
          at Object.run (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\node-appc\lib\subprocess.js:59:8)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:79:20
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\node-appc\lib\subprocess.js:129:3
          at ChildProcess.exithandler (child_process.js:195:7)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:891:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
      ---------------------------------------------
          at Object.exports.execFile (child_process.js:287:9)
          at exports.exec (child_process.js:103:18)
          at Object.getRealName (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\node-appc\lib\subprocess.js:128:2)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:73:19
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\utilities.js:49:3
          at _combinedTickCallback (internal/process/next_tick.js:73:7)
          at process._tickDomainCallback (internal/process/next_tick.js:128:9)
      ---------------------------------------------
          at magik (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\utilities.js:34:10)
          at Object.install (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:50:9)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\windows\cli\hooks\ws-run.js:171:26
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:3816:26
          at replenish (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:982:17)
          at iterateeCallback (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:967:17)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:944:16
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:3821:13
          at apply (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:21:25)
      ---------------------------------------------
          at Object.run (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\node-appc\lib\subprocess.js:59:8)
          at getAppxPackages (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:120:18)
          at getPackageFullName (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:199:2)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:223:3
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\utilities.js:49:3
          at _combinedTickCallback (internal/process/next_tick.js:73:7)
          at process._tickDomainCallback (internal/process/next_tick.js:128:9)
      ---------------------------------------------
          at magik (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\utilities.js:34:10)
          at Object.uninstall (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\windowslib\lib\winstore.js:222:9)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\windows\cli\hooks\ws-run.js:168:26
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:3816:26
          at replenish (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:982:17)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:986:9
          at eachOfLimit (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:1011:22)
          at C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:1016:16
          at _parallel (C:\ProgramData\Titanium\mobilesdk\win32\6.2.0.v20170630062735\node_modules\async\dist\async.js:3815:5)
      ---------------------------------------------
          at Domain.<anonymous> (C:\Users\ewan\AppData\Roaming\Appcelerator\Appcelerator Studio\plugins\com.appcelerator.titanium.liveview.core_1.1.0.1495185232\node_modules\liveview\hook\lvhook.js:171:6)
          at Domain.run (domain.js:221:14)
          at C:\Users\ewan\AppData\Roaming\Appcelerator\Appcelerator Studio\plugins\com.appcelerator.titanium.liveview.core_1.1.0.1495185232\node_modules\liveview\hook\lvhook.js:165:10
          at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\lib\hook.js:236:13
          at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:3845:9
          at replenish (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:1030:17)
          at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:1034:9
          at eachOfLimit (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:1061:22)
          at C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:1066:16
          at _parallel (C:\Users\ewan\AppData\Roaming\npm\node_modules\titanium\node_modules\async\dist\async.js:3844:5)
      

      Steps to reproduce
      1. Add the following to the windows section of your tiapp (creating if it doesnt exist) <id>com.incrediblyuniqueappid</id>
      2. Build the app using appc run -p windows -T ws-local (windows local from Studio)
      Actual

      It will error out with the above error

      Expected

      It should not error out

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              eharris Ewan Harris
              Tester:
              Samir Mohammed
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code