Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-766

Cannot create a Titanium project "appc new"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 4.1.1
    • Fix Version/s: Release 4.1.3
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Appc CLI NPM: 4.1.0-2
      Appc CLI Core: 4.1.3-1
      Arrow: 1.2.15
      SDK: 4.1.1.v20150807121809
      Node: v0.10.38
      OS: Yosemite (10.10.4)

    • Severity:
      Blocker

      Description

      Details: Cannot create a Titanium project appc new.

      Steps to reproduce:

      1. Run appc new
      2. Specify Native App then Titanium SDK (JavaScript)

      Actual: TypeError: Cannot read property 'type' of undefined is returned:

      ERROR  | TypeError: Cannot read property 'type' of undefined
          at Object.module.exports.fields (/Users/wluu/.appcelerator/install/4.1.3-1/package/node_modules/appc-cli-titanium/plugins/new.js:54:10)
          at _new.async.series.projectDir (/Users/wluu/.appcelerator/install/4.1.3-1/package/lib/commands/new.js:141:24)
          at /Users/wluu/.appcelerator/install/4.1.3-1/package/node_modules/async/lib/async.js:607:21
          at /Users/wluu/.appcelerator/install/4.1.3-1/package/node_modules/async/lib/async.js:246:17
          at iterate (/Users/wluu/.appcelerator/install/4.1.3-1/package/node_modules/async/lib/async.js:146:13)
          at /Users/wluu/.appcelerator/install/4.1.3-1/package/node_modules/async/lib/async.js:157:25
          at /Users/wluu/.appcelerator/install/4.1.3-1/package/node_modules/async/lib/async.js:248:21
          at /Users/wluu/.appcelerator/install/4.1.3-1/package/node_modules/async/lib/async.js:612:34
          at validatePluginType (/Users/wluu/.appcelerator/install/4.1.3-1/package/lib/commands/new.js:71:13)
          at /Users/wluu/.appcelerator/install/4.1.3-1/package/lib/commands/new.js:121:12
      

      Expected: Should be able to create Titanium app from Appc CLI.

        Attachments

          Activity

            People

            • Assignee:
              fmiao Feon Sua Xin Miao
              Reporter:
              wluu Wilson Luu (Inactive)
              Reviewer:
              Praveen Innamuri (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code