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

CLI : Command 'ti plugin' or 'titanium plugin' throws errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 3.1.2
    • Component/s: CLI
    • Labels:
    • Environment:

      Environment:
      Ti Studio : 3.1.2.201307311816
      Ti SDK : 3.1.2.v20130801190110
      Mac OSX : 10.8.4
      win7 64 bit
      Alloy : 1.2.0-alpha3
      CLI - 3.1.2-alpha

      Description

      Description:
      1. Install CLI version 3.1.2-alpha
      2. Run command 'ti plugin' or 'titanium plugin'
      3. Observe the output

      Actual Result:
      1. We get the following errors:

       
      LChoudharyMBP:~ lokeshchoudhary$ titanium plugin
      [ERROR] Unable to run command "plugin"
       
      TypeError: Arguments to path.join must be strings 0 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at path.js:360:15 1 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at Array.filter (native) 2 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at exports.join (path.js:358:36) 3 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23) 4 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25 5 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13 6 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at Array.forEach (native) 7 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24) 8 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9) 9 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
          at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19) 10 [ 'TypeError: Arguments to path.join must be strings',
        '    at path.js:360:15',
        '    at Array.filter (native)',
        '    at exports.join (path.js:358:36)',
        '    at async.parallel.project (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/tiplugin.js:127:23)',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:467:25',
        '    at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13',
        '    at Array.forEach (native)',
        '    at _forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:26:24)',
        '    at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:85:9)',
        '    at async.parallel (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:466:19)' ]
      

      Expected Result:
      1. The command should list the appropriate plugin list

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              lokeshchdhry Lokesh Choudhary (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code