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

appc ti create shows logging warning about a possible EventEmitter memory leak

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 5.2.0, Release 5.3.0
    • Component/s: Core
    • Labels:
    • Environment:

      Windows 10 Pro, OSX 10.11.4
      Appc Core: 5.2.0, 5.3.0-12
      Appc NPM: 4.2.5-1

    • Severity:
      Major
    • Story Points:
      3
    • Sprint:
      2017 Sprint 01 Tooling

      Description

      Description

      When running appc ti create the below will be printed out warning about a possible EventEmitter memory leak

      C:\Users\Ewan>appc ti create
      Appcelerator Command-Line Interface, version 5.3.0-12
      Copyright (c) 2014-2016, Appcelerator, Inc.  All Rights Reserved.
       
      (node) warning: possible EventEmitter memory leak detected. 11 keypress listeners added. Use emitter.setMaxListeners() to increase limit.
      Trace
          at ReadStream.addListener (events.js:239:17)
          at ReadStream.Readable.on (_stream_readable.js:673:33)
          at new Interface (readline.js:128:11)
          at Object.exports.createInterface (readline.js:22:10)
          at Object.Interface.createInterface (C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\inquirer\node_modules\readline2\index.js:34:21)
          at module.exports (C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\inquirer\lib\ui\baseUI.js:14:30)
          at new module.exports (C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\inquirer\lib\ui\prompt.js:15:8)
          at Object.promptModule [as prompt] (C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\inquirer\lib\inquirer.js:27:14)
          at C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\bin\commands\titanium.js:158:32
          at C:\Users\Ewan\.appcelerator\install\5.3.0-12\package\node_modules\async\lib\async.js:718:13
      ? project type:
      

      Steps to reproduce

      1. Run appc ti create

      Actual result

      The above will be printed out

      Expected result

      Although it is not the supported workflow, the above message should not be printed out and the user should be able to create an app successfully, or a message should be printed telling users to use appc new

        Attachments

          Activity

            People

            • Assignee:
              fmiao Feon Sua Xin Miao
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Chris Barber
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code