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

Cannot create an Arrow project with DEBUG=* and -l trace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 5.2.0
    • Component/s: Core
    • Environment:

      Appc CLI NPM: 4.2.1
      Appc CLI Core: 5.1.0-58
      Arrow: 1.3.22
      SDK: 5.1.0.v20151116125224
      Node: v4.2.2
      OS: El Capitan (10.11.1)

    • Story Points:
      5
    • Sprint:
      2015 Sprint 24 Tooling

      Description

      Details: Cannot create an Arrow project with DEBUG=* and -l trace.

      Note: This is a regression from 5.0.4 core.

      Steps to reproduce:

      1. In terminal, run DEBUG=* appc new -l trace
      2. Select Arrow App
      3. Specify a name for your project

      Actual: Arrow project will fail to be created:

      2015-11-16T21:57:59.545Z | ERROR  | ReferenceError: ejs:5
          3|     "description":"<%=description%>",
          4|     "version": "1.0.0",
       >> 5|     "author": "<%=author%>",
          6|     "license": "",
          7|     "framework": "none",
          8|     "keywords": [
       
      author is not defined
          at eval (eval at <anonymous> (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/ejs/lib/ejs.js:464:12), <anonymous>:17:23)
          at returnedFn (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/ejs/lib/ejs.js:493:17)
          at Object.exports.render (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/ejs/lib/ejs.js:315:37)
          at copyFile (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/arrow/lib/command/new.js:322:13)
          at copyFileCallback (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/arrow/lib/command/new.js:305:6)
          at Array.forEach (native)
          at readdirCallback (/Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/arrow/lib/command/new.js:299:13)
          at /Users/wluu/.appcelerator/install/5.1.0-58/package/node_modules/wrench/lib/wrench.js:108:13
          at FSReqWrap.oncomplete (fs.js:82:15)
        appc:run signal received +1m exit sending to ChildProcess {
        domain: null,
        _events: { close: [Function] },
        _eventsCount: 1,
        _maxListeners: undefined,
        _closesNeeded: 1,
        _closesGot: 1,
        connected: false,
        signalCode: null,
        exitCode: 1,
        killed: false,
        spawnfile: '/usr/local/bin/node',
        _handle: null,
        spawnargs: 
         [ '/usr/local/bin/node',
           '/Users/wluu/.appcelerator/install/5.1.0-58/package/bin/appc',
           'new',
           '-l',
           'trace' ],
        pid: 11121,
        stdin: null,
        stdout: null,
        stderr: null,
        stdio: [ null, null, null ] }
      

      Expected: You should be able to create an Arrow project with DEBUG=* and -l trace.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dtoth Dawson Toth
                Reporter:
                wluu Wilson Luu (Inactive)
              • Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code