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

Angular: Project created from template fails build with type errors

    Details

    • Story Points:
      5
    • Sprint:
      2020 Sprint 21

      Description

      Steps to reproduce the behavior

      1. Create new Angular project with appc new --ng
      2. Build project

      Actual behavior

      Build fails with the following error:

      [INFO]   WEBPACK   ERROR  Failed to compile with 1 errors8:05:23 PM
      [INFO]   WEBPACK  
      [INFO]   WEBPACK   error  
      [INFO]   WEBPACK  [INFO]   WEBPACK  test-angular/node_modules/zone.js/dist/zone.js.d.ts:600:13 - error TS2403: Subsequent variable declar
      ations must have the same type.  Variable 'global' must be of type 'Global', but here has type 'Global'.
      [INFO]   WEBPACK  
      [INFO]   WEBPACK  600 declare var global: NodeJS.Global;
      [INFO]   WEBPACK                  ~~~~~~
      [INFO]   WEBPACK  
      [INFO]   WEBPACK    test-angular/node_modules/@types/titanium/globals.d.ts:57:13
      [INFO]   WEBPACK      57 declare var global: Titanium.Global;
      [INFO]   WEBPACK                     ~~~~~~
      [INFO]   WEBPACK      'global' was also declared here.
      

      Expected behavior
      Build without error

        Attachments

          Activity

            People

            • Assignee:
              jvennemann Jan Vennemann
              Reporter:
              jvennemann Jan Vennemann
              Reviewer:
              Ewan Harris
              Tester:
              Samir Mohammed
            • 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 Integration