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

appc command is not recognized even installing appcelerator studio with Node and NPM

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: Release 7.5.0
    • Fix Version/s: None
    • Component/s: CLI, Tooling
    • Labels:
      None
    • Environment:

      Description

      Issue Overview:
      When trying to run CLI commands it shows appc is not recognised error. Tried to run the follow command:
      npm install -g appcelerator
      appc ti setup check
      That show the same error: appc is not recognised. I'm using node version 8.12.0 on Windows 10. My Java version is : Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
      Please find the attached log.

      C:\windows\system32>npm install -g appcelerator
      npm WARN registry Using stale data from https://registry.npmjs.org/ because the host is inaccessible -- are you offline?
      npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
      npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
      C:\Users\srikanth.sutari\AppData\Roaming\npm\appc -> C:\Users\srikanth.sutari\AppData\Roaming\npm\node_modules\appcelerator\bin\appc
      C:\Users\srikanth.sutari\AppData\Roaming\npm\appcelerator -> C:\Users\srikanth.sutari\AppData\Roaming\npm\node_modules\appcelerator\bin\appc
      + appcelerator@4.2.13
      updated 1 package in 149.422s
      

      C:\windows\system32>appc use latest -l trace
      'appc' is not recognized as an internal or external command,
      operable program or batch file.
      

      C:\windows\system32>echo %PATH%
      C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Java\jdk1.8.0_151\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Git\cmd;C:\Users\srikanth.sutari\Downloads\node-v8.9.4-win-x64_1\node-v8.9.4-win-x64;C:\Users\srikanth.sutari\AppData\Local\Microsoft\WindowsApps
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jnaher Jebun Naher
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code