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

CLI: Fails to build app when including ti.superagent commonjs module

    Details

    • Sprint:
      2019 Sprint 21, 2019 Sprint 22

      Description

      When including ti.superagent commons module in a project with SDK 8.2.1 and CLI 7.1.1, it reports a failure during app build:

      [INFO]  Processing JavaScript files
      (node:6745) UnhandledPromiseRejectionWarning: TypeError: trace_error.stack[1].getFunctionName is not a function
          at process.emitWarning (internal/process/warning.js:146:18)
          at showFlaggedDeprecation (buffer.js:159:11)
          at new Buffer (buffer.js:174:3)
          at Array.<anonymous> (/Users/jquick2/.appcelerator/install/7.1.1/package/node_modules/source-map-support/source-map-support.js:149:21)
          at /Users/jquick2/.appcelerator/install/7.1.1/package/node_modules/source-map-support/source-map-support.js:53:24
          at mapSourcePosition (/Users/jquick2/.appcelerator/install/7.1.1/package/node_modules/source-map-support/source-map-support.js:171:21)
          at Object.wrapCallSite (/Users/jquick2/.appcelerator/install/7.1.1/package/node_modules/source-map-support/source-map-support.js:343:20)
      (node:6745) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
      (node:6745) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Ewan Harris
                Tester:
                Satyam Sekhri
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code