Au build and TS 2.7.1


#1

I just upgraded to TS 2.7.1 and am getting the error below. If I go back to 2.6.2 I have no problems.

Starting 'readProjectConfiguration'...
Finished 'readProjectConfiguration'
Starting 'processMarkup'...
Starting 'processCSS'...
Starting 'copyFiles'...
Starting 'prepareFontAwesome'...
Starting 'configureEnvironment'...
Finished 'configureEnvironment'
Starting 'buildTypeScript'...
Finished 'copyFiles'
Finished 'processCSS'
Finished 'prepareFontAwesome'
Finished 'processMarkup'
{ uid: 9,
  name: 'buildTypeScript',
  branch: false,
  error:
   { Error: Debug Failure.
    at checkUnusedClassMembers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43598:38)
    at checkUnusedIdentifiers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43482:29)
    at checkSourceFileWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46156:21)
    at checkSourceFile (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46129:13)
    at getDiagnosticsWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46194:17)
    at Object.getDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46180:24)
    at C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74462:85
    at runWithCancellationToken (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74425:24)
    at getSemanticDiagnosticsForFileNoCache (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74448:20)
    at getAndCacheDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74684:26)
     domain:
      Domain {
        domain: null,
        _events: {},
        _eventsCount: 0,
        _maxListeners: undefined,
        members: [] },
     domainThrown: true },
  duration: [ 2, 863591305 ],
  time: 1518110275457 }
{ uid: 3,
  name: '<series>',
  branch: true,
  error:
   { Error: Debug Failure.
    at checkUnusedClassMembers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43598:38)
    at checkUnusedIdentifiers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43482:29)
    at checkSourceFileWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46156:21)
    at checkSourceFile (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46129:13)
    at getDiagnosticsWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46194:17)
    at Object.getDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46180:24)
    at C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74462:85
    at runWithCancellationToken (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74425:24)
    at getSemanticDiagnosticsForFileNoCache (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74448:20)
    at getAndCacheDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74684:26)
     domain:
      Domain {
        domain: null,
        _events: {},
        _eventsCount: 0,
        _maxListeners: undefined,
        members: [] },
     domainThrown: true },
  duration: [ 2, 927526561 ],
  time: 1518110275472 }
{ uid: 2,
  name: '<parallel>',
  branch: true,
  error:
   { Error: Debug Failure.
    at checkUnusedClassMembers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43598:38)
    at checkUnusedIdentifiers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43482:29)
    at checkSourceFileWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46156:21)
    at checkSourceFile (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46129:13)
    at getDiagnosticsWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46194:17)
    at Object.getDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46180:24)
    at C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74462:85
    at runWithCancellationToken (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74425:24)
    at getSemanticDiagnosticsForFileNoCache (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74448:20)
    at getAndCacheDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74684:26)
     domain:
      Domain {
        domain: null,
        _events: {},
        _eventsCount: 0,
        _maxListeners: undefined,
        members: [] },
     domainThrown: true },
  duration: [ 2, 930224805 ],
  time: 1518110275474 }
{ uid: 0,
  name: '<series>',
  branch: true,
  error:
   { Error: Debug Failure.
    at checkUnusedClassMembers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43598:38)
    at checkUnusedIdentifiers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43482:29)
    at checkSourceFileWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46156:21)
    at checkSourceFile (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46129:13)
    at getDiagnosticsWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46194:17)
    at Object.getDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46180:24)
    at C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74462:85
    at runWithCancellationToken (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74425:24)
    at getSemanticDiagnosticsForFileNoCache (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74448:20)
    at getAndCacheDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74684:26)
     domain:
      Domain {
        domain: null,
        _events: {},
        _eventsCount: 0,
        _maxListeners: undefined,
        members: [] },
     domainThrown: true },
  duration: [ 3, 1950154 ],
  time: 1518110275477 }
{ Error: Debug Failure.
    at checkUnusedClassMembers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43598:38)
    at checkUnusedIdentifiers (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:43482:29)
    at checkSourceFileWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46156:21)
    at checkSourceFile (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46129:13)
    at getDiagnosticsWorker (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46194:17)
    at Object.getDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:46180:24)
    at C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74462:85
    at runWithCancellationToken (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74425:24)
    at getSemanticDiagnosticsForFileNoCache (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74448:20)
    at getAndCacheDiagnostics (C:\Visual Studio\AtlTradingSystem\Client\node_modules\typescript\lib\typescript.js:74684:26)
  domain:
   Domain {
     domain: null,
     _events: {},
     _eventsCount: 0,
     _maxListeners: undefined,
     members: [] },
  domainThrown: true }

Any ideas?

Thanks


#2


Thats known issue. Try downgrading to 2.6.1 or wait for next TS version


#3

Thanks very much. I’ve downgraded to 2.6.2.