wallabyjs / public

Repository for Wallaby.js questions and issues
http://wallabyjs.com
759 stars 45 forks source link

Cant start Wallaby after Angular 10.1 Upgrade #2508

Closed alexander-kastil closed 4 years ago

alexander-kastil commented 4 years ago

Issue description or question

After Upgrading my proj to Angular 10.1 Wallaby is not able to start anymore and bringing the Err msg: Entry module not found: TypeError: Cannot read property 'name' of undefined 

ng 10.1 removed tsconfig.base.json

Steps to reproduce with a new proj:

Install latest Angular CLI:

npm i -g @angular/cli

Create a test proj

ng new wallaby-test cd wallaby-test ... try start wallaby

Wallaby diagnostics report

{
  editorVersion: '1.48.2',
  pluginVersion: '1.0.236',
  editorType: 'VSCode',
  osVersion: 'win32 10.0.19041',
  nodeVersion: 'v12.18.3',
  coreVersion: '1.0.948',
  checksum: 'MzA3NmM4YjZhYWU2NmZkODJhYTIwNTJiOGExZWZhZjYsMTYzMTQ5MTIwMDAwMCww',
  config: {
    diagnostics: {
      angular: {
        workspace: {
          '$schema': './node_modules/@angular/cli/lib/config/schema.json',
          version: 1,
          newProjectRoot: 'projects',
          projects: {
            'wallaby-test': {
              projectType: 'application',
              schematics: { '@schematics/angular:component': { style: 'scss' } },
              root: '',
              sourceRoot: 'src',
              prefix: 'app',
              architect: {
                build: {
                  builder: '@angular-devkit/build-angular:browser',
                  options: {
                    outputPath: 'dist/wallaby-test',
                    index: 'src/index.html',
                    main: 'src/main.ts',
                    polyfills: 'src/polyfills.ts',
                    tsConfig: 'tsconfig.app.json',
                    aot: true,
                    assets: [ 'src/favicon.ico', 'src/assets' ],
                    styles: [ 'src/styles.scss' ],
                    scripts: []
                  },
                  configurations: {
                    production: {
                      fileReplacements: [ { replace: 'src/environments/environment.ts', with: 'src/environments/environment.prod.ts' } ],
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      budgets: [ { type: 'initial', maximumWarning: '2mb', maximumError: '5mb' }, { type: 'anyComponentStyle', maximumWarning: '6kb', maximumError: '10kb' } ]
                    }
                  }
                },
                serve: {
                  builder: '@angular-devkit/build-angular:dev-server',
                  options: { browserTarget: 'wallaby-test:build' },
                  configurations: { production: { browserTarget: 'wallaby-test:build:production' } }
                },
                'extract-i18n': { builder: '@angular-devkit/build-angular:extract-i18n', options: { browserTarget: 'wallaby-test:build' } },
                test: {
                  builder: '@angular-devkit/build-angular:karma',
                  options: {
                    main: 'src/test.ts',
                    polyfills: 'src/polyfills.ts',
                    tsConfig: 'tsconfig.spec.json',
                    karmaConfig: 'karma.conf.js',
                    assets: [ 'src/favicon.ico', 'src/assets' ],
                    styles: [ 'src/styles.scss' ],
                    scripts: []
                  }
                },
                lint: {
                  builder: '@angular-devkit/build-angular:tslint',
                  options: { tsConfig: [ 'tsconfig.app.json', 'tsconfig.spec.json', 'e2e/tsconfig.json' ], exclude: [ '**/node_modules/**' ] }
                },
                e2e: {
                  builder: '@angular-devkit/build-angular:protractor',
                  options: { protractorConfig: 'e2e/protractor.conf.js', devServerTarget: 'wallaby-test:serve' },
                  configurations: { production: { devServerTarget: 'wallaby-test:serve:production' } }
                }
              }
            }
          },
          defaultProject: 'wallaby-test'
        },
        main: '// This file is required by karma.conf.js and loads recursively all the .spec and framework files\n' +
          '\n' +
          "import 'zone.js/dist/zone-testing';\n" +
          "import { getTestBed } from '@angular/core/testing';\n" +
          'import {\n' +
          '  BrowserDynamicTestingModule,\n' +
          '  platformBrowserDynamicTesting\n' +
          "} from '@angular/platform-browser-dynamic/testing';\n" +
          '\n' +
          'declare const require: {\n' +
          '  context(path: string, deep?: boolean, filter?: RegExp): {\n' +
          '    keys(): string[];\n' +
          '    <T>(id: string): T;\n' +
          '  };\n' +
          '};\n' +
          '\n' +
          '// First, initialize the Angular testing environment.\n' +
          'getTestBed().initTestEnvironment(\n' +
          '  BrowserDynamicTestingModule,\n' +
          '  platformBrowserDynamicTesting()\n' +
          ');\n' +
          '// Then we find all the tests.\n' +
          '\n' +
          '// And load the modules.\n' +
          '\n'
      }
    },
    testFramework: { version: 'jasmine@3.5.0', configurator: 'jasmine@2.1.3', reporter: 'jasmine@2.1.3', starter: 'jasmine@2.1.3', autoDetected: true },
    env: { kind: 'chrome', type: 'browser', params: {}, viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
    files: [
      { pattern: 'src/**/*.spec.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/polyfills.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/test.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/main.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/index.html', ignore: true, trigger: true, load: true },
      { pattern: 'src/test.base.ts', ignore: true, trigger: true, load: true },
      { pattern: 'src/test.wallaby.ts', ignore: false, trigger: true, load: true, order: 1 },
      { pattern: 'src/**/*.+(ts|js)', load: false, ignore: false, trigger: true, order: 2 },
      { pattern: 'src/**/*.+(css|less|scss|sass|styl|html|json|svg)', instrument: false, load: false, ignore: false, trigger: true, order: 3 }
    ],
    tests: [ { pattern: 'src/**/*.spec.ts', load: false, ignore: false, trigger: true, test: true, order: 4 } ],
    filesWithNoCoverageCalculated: [],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: {},
    preprocessors: {},
    maxConsoleMessagesPerTest: 100,
    autoConsoleLog: true,
    delays: { run: 0, edit: 100, update: 0 },
    workers: { initial: 0, regular: 0, recycle: false },
    teardown: undefined,
    hints: {
      ignoreCoverage: '__REGEXP /ignore coverage|istanbul ignore/',
      ignoreCoverageForFile: '__REGEXP /ignore file coverage/',
      commentAutoLog: '?',
      testFileSelection: { include: '__REGEXP /file\\.only/', exclude: '__REGEXP /file\\.skip/' }
    },
    automaticTestFileSelection: true,
    runSelectedTestsOnly: false,
    extensions: {},
    reportUnhandledPromises: false,
    throwOnBeforeUnload: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    loose: true,
    configCode: 'auto.detect#1313788472'
  },
  packageJSON: {
    dependencies: {
      '@angular/animations': '~10.1.0',
      '@angular/common': '~10.1.0',
      '@angular/compiler': '~10.1.0',
      '@angular/core': '~10.1.0',
      '@angular/forms': '~10.1.0',
      '@angular/platform-browser': '~10.1.0',
      '@angular/platform-browser-dynamic': '~10.1.0',
      '@angular/router': '~10.1.0',
      rxjs: '~6.6.0',
      tslib: '^2.0.0',
      'zone.js': '~0.10.2'
    },
    devDependencies: {
      '@angular-devkit/build-angular': '~0.1001.0',
      '@angular/cli': '~10.1.0',
      '@angular/compiler-cli': '~10.1.0',
      '@types/node': '^12.11.1',
      '@types/jasmine': '~3.5.0',
      '@types/jasminewd2': '~2.0.3',
      codelyzer: '^6.0.0',
      'jasmine-core': '~3.6.0',
      'jasmine-spec-reporter': '~5.0.0',
      karma: '~5.0.0',
      'karma-chrome-launcher': '~3.1.0',
      'karma-coverage-istanbul-reporter': '~3.0.2',
      'karma-jasmine': '~4.0.0',
      'karma-jasmine-html-reporter': '^1.5.0',
      protractor: '~7.0.0',
      'ts-node': '~8.3.0',
      tslint: '~6.1.0',
      typescript: '~4.0.2'
    }
  },
  fs: { numberOfFiles: 9 },
  debug: [
    '2020-09-05T05:55:30.303Z angular/cli config Detected Angular CLI.\n',
    '2020-09-05T05:55:37.191Z angular/cli karma project config Using virtual H:/Playground/wallaby-test/src/test.ts.\n',
    '2020-09-05T05:55:37.217Z project Wallaby Node version: v12.18.3\n',
    '2020-09-05T05:55:37.217Z project Wallaby config: H:\\Playground\\wallaby-test\\auto.detect\n',
    '2020-09-05T05:55:37.869Z project File cache: C:\\Users\\AlexanderPajer\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.236\\projects\\06a1a159dba4abd2\n',
    '2020-09-05T05:55:37.916Z uiService Listening port 51236\n',
    '2020-09-05T05:55:37.933Z project package.json file change detected, invalidating local cache\n',
    '2020-09-05T05:55:37.975Z workers Parallelism for initial run: 14, for regular run: 7\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #0\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #1\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #2\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #3\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #4\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #5\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #6\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #7\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #8\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #9\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #10\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #11\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #12\n',
    '2020-09-05T05:55:37.975Z workers Starting run worker instance #13\n',
    '2020-09-05T05:55:37.977Z workers Web server is listening at 55979\n',
    '2020-09-05T05:55:37.988Z project Stopping process pool\n',
    '2020-09-05T05:55:37.988Z project File cache is up-to-date, starting full test run\n',
    '2020-09-05T05:55:37.989Z project Running postprocessor\n',
    '2020-09-05T05:55:37.991Z postprocessor Processing started.\n',
    '2020-09-05T05:55:37.991Z postprocessor Initializing.\n',
    '2020-09-05T05:55:37.991Z postprocessor Initializing entry.\n',
    '2020-09-05T05:55:37.992Z postprocessor Sanitizing configuration.\n',
    '2020-09-05T05:55:37.992Z postprocessor Adjusting configuration.\n',
    '2020-09-05T05:55:37.992Z postprocessor Creating compiler.\n',
    '2020-09-05T05:55:48.122Z postprocessor Customizing compiler.\n',
    '2020-09-05T05:55:48.122Z postprocessor Compilation started.\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #0\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #1\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #2\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #3\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #4\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #5\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #6\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #7\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #8\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #9\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #10\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #11\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #12\n',
    '2020-09-05T05:55:50.798Z workers Started run worker instance (immediate) #13\n',
    "2020-09-05T05:55:50.813Z project Error: Entry module not found: TypeError: Cannot read property 'name' of undefined\n" +
      '    at t.<anonymous> (c:\\Users\\AlexanderPajer\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.236\\wallabyf20c5d\\server.js:20:29062)\n' +
      '    at r (c:\\Users\\AlexanderPajer\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.236\\wallabyf20c5d\\server.js:20:25453)\n' +
      '    at Object.next (c:\\Users\\AlexanderPajer\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.236\\wallabyf20c5d\\server.js:20:24748)\n' +
      '    at o (c:\\Users\\AlexanderPajer\\.vscode\\extensions\\wallabyjs.wallaby-vscode-1.0.236\\wallabyf20c5d\\server.js:20:24507)\n' +
      '    at processTicksAndRejections (internal/process/task_queues.js:97:5)\n',
    '2020-09-05T05:55:50.813Z project Test run finished\n',
    '2020-09-05T05:55:50.813Z project Test run data re-queued\n'
  ]
}
NikGovorov commented 4 years ago

Thanks for reporting the issue. It is fixed and the fix is published in the latest core version.

manudss commented 4 years ago

Hello, I steal have the error too.

I was also with core version : v1.0.948. But the core version did not update (I have restarted IntellJ serveral time, Also update wallby plugins). Does there is a more recent core version ?

{
  editorVersion: 'IntelliJ IDEA 2020.2',
  pluginVersion: '1.0.194',
  editorType: 'IntelliJ',
  osVersion: 'win32 10.0.18363',
  nodeVersion: 'v12.16.3',
  coreVersion: '1.0.948',
  checksum: 'MmM5ZDMxMjdlOWY5Mzc3YTY2MmZhN2ZkNTJiZmI4ZWIsMTYxNzY2NzIwMDAwMCww',
  config: {
    diagnostics: {
      angular: {
        workspace: {
          '$schema': './node_modules/@angular-devkit/core/src/workspace/workspace-schema.json',
          version: 1,
          newProjectRoot: 'projects',
          projects: {
            'iga-portal': {
              i18n: {
                locales: {
                  fr: { translation: 'projects/iga-portal/src/locale/messages.fr.xlf', baseHref: '/iga-portal/fr/' },
                  en: { translation: 'projects/iga-portal/src/locale/messages.en.xlf', baseHref: '/iga-portal/' }
                }
              },
              root: 'projects/iga-portal/',
              projectType: 'application',
              prefix: 'iga',
              schematics: { '@schematics/angular:component': { style: 'scss' } },
              architect: {
                build: {
                  builder: '@angular-devkit/build-angular:browser',
                  options: {
                    allowedCommonJsDependencies: [ 'angular2-text-mask', 'ace-builds/webpack-resolver', 'file-saver', 'lodash', 'ua-parser-js', 'secure-random-password', 'papaparse/papaparse.min.js' ],
                    aot: true,
                    outputPath: 'dist/iga-portal/',
                    index: 'projects/iga-portal/src/index.html',
                    main: 'projects/iga-portal/src/main.ts',
                    polyfills: 'projects/iga-portal/src/polyfills.ts',
                    tsConfig: 'projects/iga-portal/tsconfig.app.json',
                    assets: [
                      { glob: 'favicon.ico', input: 'projects/iga-portal/src', output: '/' },
                      { glob: '**/*', input: 'projects/iga-portal/src/assets', output: '/assets' },
                      { glob: '**/*', input: 'common/assets', output: '/assets' }
                    ],
                    styles: [
                      'projects/iga-portal/src/styles.scss',
                      'node_modules/material-design-icons-iconfont/dist/material-design-icons.css',
                      'node_modules/roboto-fontface/css/roboto/roboto-fontface.css'
                    ],
                    scripts: []
                  },
                  stylePreprocessorOptions: { includePaths: [ 'common/styles', '../../common/styles' ] },
                  configurations: {
                    production: {
                      budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      fileReplacements: [ { replace: 'projects/iga-portal/src/environments/environment.ts', with: 'projects/iga-portal/src/environments/environment.prod.ts' } ],
                      index: 'projects/iga-portal/src/index/en/index.html',
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true
                    },
                    'production-fr': {
                      budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      fileReplacements: [ { replace: 'projects/iga-portal/src/environments/environment.ts', with: 'projects/iga-portal/src/environments/environment.prod.ts' } ],
                      index: 'projects/iga-portal/src/index/fr/index.html',
                      localize: [ 'fr' ],
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      outputPath: 'dist/iga-portal',
                      i18nMissingTranslation: 'error'
                    },
                    'production-en': {
                      budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      fileReplacements: [ { replace: 'projects/iga-portal/src/environments/environment.ts', with: 'projects/iga-portal/src/environments/environment.prod.ts' } ],
                      index: 'projects/iga-portal/src/index/en/index.html',
                      localize: [ 'en' ],
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      outputPath: 'dist/iga-portal',
                      i18nMissingTranslation: 'error'
                    },
                    fr: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/iga-portal-fr/', localize: [ 'fr' ], i18nMissingTranslation: 'error' },
                    en: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/iga-portal/', localize: [ 'en' ], i18nMissingTranslation: 'error' }
                  }
                },
                serve: {
                  builder: '@angular-devkit/build-angular:dev-server',
                  options: { browserTarget: 'iga-portal:build' },
                  configurations: {
                    production: { browserTarget: 'iga-portal:build:production' },
                    fr: { browserTarget: 'iga-portal:build:fr' },
                    en: { browserTarget: 'iga-portal:build:en' },
                    'production-fr': { browserTarget: 'iga-portal:build:production-fr' }
                  }
                },
                'extract-i18n': { builder: '@angular-devkit/build-angular:extract-i18n', options: { browserTarget: 'iga-portal:build' } },
                test: {
                  builder: '@angular-devkit/build-angular:karma',
                  options: {
                    main: 'projects/iga-portal/src/test.ts',
                    polyfills: 'projects/iga-portal/src/polyfills.ts',
                    tsConfig: 'projects/iga-portal/tsconfig.spec.json',
                    karmaConfig: 'projects/iga-portal/karma.conf.js',
                    styles: [ 'projects/iga-portal/src/styles.scss' ],
                    scripts: [],
                    assets: [
                      { glob: 'projects/iga-portal/src/favicon.ico', input: 'src/', output: '/' },
                      { glob: '**/*', input: 'projects/iga-portal/src/assets', output: '/assets' },
                      { glob: '**/*', input: 'common/assets', output: '/assets' }
                    ]
                  }
                },
                lint: {
                  builder: '@angular-devkit/build-angular:tslint',
                  options: { tsConfig: [ 'projects/iga-portal/tsconfig.app.json', 'projects/iga-portal/tsconfig.spec.json' ], exclude: [ '**/node_modules/**' ] }
                }
              }
            },
            'wam-portal': {
              i18n: {
                locales: {
                  en: { translation: 'projects/wam-portal/src/locale/messages.en.xlf', baseHref: '/wam-portal/' },
                  fr: { translation: 'projects/wam-portal/src/locale/messages.fr.xlf', baseHref: '/wam-portal/fr/' },
                  ja: { translation: 'projects/wam-portal/src/locale/messages.ja.xlf', baseHref: '/wam-portal/ja/' },
                  de: { translation: 'projects/wam-portal/src/locale/messages.de.xlf', baseHref: '/wam-portal/de/' },
                  nl: { translation: 'projects/wam-portal/src/locale/messages.nl.xlf', baseHref: '/wam-portal/nl/' },
                  ro: { translation: 'projects/wam-portal/src/locale/messages.ro.xlf', baseHref: '/wam-portal/ro/' }
                }
              },
              root: 'projects/wam-portal/',
              sourceRoot: 'projects/wam-portal/src',
              projectType: 'application',
              prefix: 'wam',
              schematics: { '@schematics/angular:component': { style: 'scss' } },
              architect: {
                build: {
                  builder: '@angular-devkit/build-angular:browser',
                  options: {
                    allowedCommonJsDependencies: [ 'angular2-text-mask', 'ace-builds/webpack-resolver', 'file-saver', 'lodash', 'ua-parser-js', 'secure-random-password', 'papaparse/papaparse.min.js' ],
                    aot: true,
                    outputPath: 'dist/wam-portal',
                    index: 'projects/wam-portal/src/index.html',
                    main: 'projects/wam-portal/src/main.ts',
                    polyfills: 'projects/wam-portal/src/polyfills.ts',
                    tsConfig: 'projects/wam-portal/tsconfig.app.json',
                    stylePreprocessorOptions: { includePaths: [ 'common/styles', '../../common/styles' ] },
                    assets: [
                      'projects/wam-portal/src/favicon.ico',
                      'projects/wam-portal/src/assets',
                      { glob: 'CHANGELOG.md', input: './projects/wam-portal/', output: '/assets' },
                      { glob: '**/*', input: 'common/assets', output: '/assets' },
                      { glob: 'theme-chrome.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'theme-eclipse.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'mode-css.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'mode-plain_text.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'worker-css.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'mode-xml.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'mode-eiffel.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'worker-xml.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'mode-html.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'worker-html.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'ext-language_tools.js', input: './node_modules/ace-builds/src-min/', output: '/' }
                    ],
                    styles: [
                      'projects/wam-portal/src/styles.scss',
                      'node_modules/material-design-icons-iconfont/dist/material-design-icons.css',
                      'node_modules/roboto-fontface/css/roboto/roboto-fontface.css'
                    ],
                    scripts: [
                      'node_modules/ace-builds/src-min/ace.js',
                      'node_modules/ace-builds/src-min/mode-css.js',
                      'node_modules/ace-builds/src-min/mode-plain_text.js',
                      'node_modules/ace-builds/src-min/theme-eclipse.js',
                      'node_modules/marked/lib/marked.js'
                    ]
                  },
                  configurations: {
                    production: {
                      fileReplacements: [ { replace: 'projects/wam-portal/src/environments/environment.ts', with: 'projects/wam-portal/src/environments/environment.prod.ts' } ],
                      index: 'projects/wam-portal/src/index/prod/index.html',
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      outputPath: 'dist/wam-portal/en/',
                      budgets: [ { type: 'initial', maximumWarning: '5mb', maximumError: '20mb' }, { type: 'anyComponentStyle', maximumWarning: '6kb' } ]
                    },
                    mock: {
                      budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      fileReplacements: [ { replace: 'projects/wam-portal/src/environments/environment.ts', with: 'projects/wam-portal/src/environments/environment.mock.ts' } ],
                      index: 'projects/wam-portal/src/index/mock/index.html'
                    },
                    ci: {
                      fileReplacements: [ { replace: 'projects/wam-portal/src/environments/environment.ts', with: 'projects/wam-portal/src/environments/environment.ci.ts' } ],
                      index: 'projects/wam-portal/src/index/ci/index.html',
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      budgets: [ { type: 'initial', maximumWarning: '3mb', maximumError: '15mb' }, { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      outputPath: 'dist/wam-portal/en/'
                    },
                    'production-lang': {
                      budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      fileReplacements: [ { replace: 'projects/wam-portal/src/environments/environment.ts', with: 'projects/wam-portal/src/environments/environment.ci.ts' } ],
                      index: 'projects/wam-portal/src/index/en/index.html',
                      localize: [ 'en' ],
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: false,
                      vendorChunk: false,
                      buildOptimizer: true,
                      outputPath: 'dist/wam-portal',
                      i18nMissingTranslation: 'warn'
                    },
                    fr: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/wam-portal-fr/', localize: [ 'fr' ], i18nMissingTranslation: 'error' },
                    de: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/wam-portal-de/', localize: [ 'de' ], i18nMissingTranslation: 'error' },
                    nl: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/wam-portal-nl/', localize: [ 'nl' ], i18nMissingTranslation: 'error' },
                    ro: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/wam-portal-ro/', localize: [ 'ro' ], i18nMissingTranslation: 'error' },
                    ja: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/wam-portal-ja/', localize: [ 'ja' ], i18nMissingTranslation: 'error' },
                    en: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/wam-portal/', localize: [ 'en' ], i18nMissingTranslation: 'error' }
                  }
                },
                serve: {
                  builder: '@angular-devkit/build-angular:dev-server',
                  options: { browserTarget: 'wam-portal:build' },
                  configurations: {
                    'mock-server': { browserTarget: 'wam-portal:build:mock', proxyConfig: './projects/wam-portal/proxy-mock.conf.json' },
                    mock: { browserTarget: 'wam-portal:build:mock' },
                    production: { browserTarget: 'wam-portal:build:production' },
                    fr: { browserTarget: 'wam-portal:build:fr' },
                    de: { browserTarget: 'wam-portal:build:de' },
                    nl: { browserTarget: 'wam-portal:build:nl' },
                    ro: { browserTarget: 'wam-portal:build:ro' },
                    ja: { browserTarget: 'wam-portal:build:ja' },
                    en: { browserTarget: 'wam-portal:build:en' },
                    'production-fr': { browserTarget: 'wam-portal:build:production-fr' }
                  }
                },
                'extract-i18n': { builder: '@angular-devkit/build-angular:extract-i18n', options: { browserTarget: 'wam-portal:build' } },
                test: {
                  builder: '@angular-devkit/build-angular:karma',
                  options: {
                    main: 'projects/wam-portal/src/test.ts',
                    polyfills: 'projects/wam-portal/src/polyfills.ts',
                    tsConfig: 'projects/wam-portal/tsconfig.spec.json',
                    karmaConfig: 'projects/wam-portal/karma.conf.js',
                    styles: [ 'projects/wam-portal/src/styles.scss' ],
                    scripts: [],
                    stylePreprocessorOptions: { includePaths: [ 'common/styles', '../../common/styles' ] },
                    assets: [ 'projects/wam-portal/src/favicon.ico', 'projects/wam-portal/src/assets' ]
                  }
                },
                lint: {
                  builder: '@angular-devkit/build-angular:tslint',
                  options: { tsConfig: [ 'projects/wam-portal/tsconfig.app.json', 'projects/wam-portal/tsconfig.spec.json' ], exclude: [ '**/node_modules/**' ] }
                }
              }
            },
            'wam-portal-e2e': {
              root: 'projects/wam-portal-e2e/',
              projectType: 'application',
              prefix: '',
              architect: {
                e2e: {
                  builder: '@nrwl/cypress:cypress',
                  options: { cypressConfig: 'projects/wam-portal-e2e/cypress.json', tsConfig: 'projects/wam-portal-e2e/tsconfig.e2e.json' },
                  configurations: {
                    production: { devServerTarget: 'wam-portal:serve:production' },
                    'mock-server': { devServerTarget: 'wam-portal:serve:mock-server' },
                    mock: { devServerTarget: 'wam-portal:serve:mock' },
                    'mock-ci': {},
                    'mock-local': {}
                  }
                },
                lint: { builder: '@angular-devkit/build-angular:tslint', options: { tsConfig: 'projects/wam-portal-e2e/tsconfig.e2e.json', exclude: [ '**/node_modules/**' ] } }
              }
            },
            components: {
              root: 'common/components',
              sourceRoot: 'common/components/src',
              projectType: 'library',
              prefix: 'lib',
              architect: {
                build: {
                  builder: '@angular-devkit/build-ng-packagr:build',
                  options: { tsConfig: 'common/components/tsconfig.lib.json', project: 'common/components/ng-package.json', polyfills: 'common/components/src/polyfills.ts' },
                  configurations: { production: { tsConfig: 'common/components/tsconfig.lib.prod.json' } }
                },
                test: {
                  builder: '@angular-devkit/build-angular:karma',
                  options: {
                    main: 'common/components/src/test.ts',
                    tsConfig: 'common/components/tsconfig.spec.json',
                    karmaConfig: 'common/components/karma.conf.js',
                    stylePreprocessorOptions: { includePaths: [ 'common/styles', './styles', '../../common/styles' ] },
                    polyfills: 'common/components/src/polyfills.ts'
                  }
                },
                lint: {
                  builder: '@angular-devkit/build-angular:tslint',
                  options: { tsConfig: [ 'common/components/tsconfig.lib.json', 'common/components/tsconfig.spec.json' ], exclude: [ '**/node_modules/**' ] }
                }
              }
            },
            'idaas-portal': {
              i18n: {
                locales: {
                  en: { translation: 'projects/idaas-portal/src/locale/messages.en.xlf', baseHref: '/idaas/en/' },
                  fr: { translation: 'projects/idaas-portal/src/locale/messages.fr.xlf', baseHref: '/idaas/fr/' },
                  ja: { translation: 'projects/idaas-portal/src/locale/messages.ja.xlf', baseHref: '/idaas/ja/' },
                  de: { translation: 'projects/idaas-portal/src/locale/messages.de.xlf', baseHref: '/idaas/de/' },
                  nl: { translation: 'projects/idaas-portal/src/locale/messages.nl.xlf', baseHref: '/idaas/nl/' },
                  ro: { translation: 'projects/idaas-portal/src/locale/messages.ro.xlf', baseHref: '/idaas/ro/' }
                }
              },
              root: 'projects/idaas-portal/',
              sourceRoot: 'projects/idaas-portal/src',
              projectType: 'application',
              prefix: 'idaas',
              schematics: { '@schematics/angular:component': { style: 'scss' } },
              architect: {
                build: {
                  builder: '@angular-devkit/build-angular:browser',
                  options: {
                    allowedCommonJsDependencies: [ 'angular2-text-mask', 'ace-builds/webpack-resolver', 'file-saver', 'lodash', 'ua-parser-js', 'secure-random-password', 'papaparse/papaparse.min.js' ],
                    aot: true,
                    outputPath: 'dist/idaas-portal',
                    index: 'projects/idaas-portal/src/index.html',
                    main: 'projects/idaas-portal/src/main.ts',
                    polyfills: 'projects/idaas-portal/src/polyfills.ts',
                    tsConfig: 'projects/idaas-portal/tsconfig.app.json',
                    stylePreprocessorOptions: { includePaths: [ 'common/styles', '../../common/styles' ] },
                    assets: [
                      'projects/idaas-portal/src/favicon.ico',
                      'projects/idaas-portal/src/assets',
                      { glob: '**/*', input: 'common/assets', output: '/assets' },
                      { glob: '**/*', input: 'projects/wam-portal/src/assets', output: '/assets/' },
                      { glob: '**/*', input: 'projects/iga-portal/src/assets', output: '/assets/' },
                      { glob: 'theme-chrome.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'theme-eclipse.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'mode-css.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'worker-css.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'mode-xml.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'mode-eiffel.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'worker-xml.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'mode-html.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'worker-html.js', input: './node_modules/ace-builds/src-min/', output: '/' },
                      { glob: 'ext-language_tools.js', input: './node_modules/ace-builds/src-min/', output: '/' }
                    ],
                    styles: [
                      'node_modules/material-design-icons-iconfont/dist/material-design-icons.css',
                      'node_modules/roboto-fontface/css/roboto/roboto-fontface.css',
                      'projects/idaas-portal/src/styles.scss'
                    ],
                    scripts: [
                      'node_modules/ace-builds/src-min/ace.js',
                      'node_modules/ace-builds/src-min/mode-css.js',
                      'node_modules/ace-builds/src-min/theme-eclipse.js',
                      'node_modules/marked/lib/marked.js'
                    ]
                  },
                  configurations: {
                    production: {
                      fileReplacements: [
                        { replace: 'projects/idaas-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' },
                        { replace: 'projects/wam-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' },
                        { replace: 'projects/iga-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' }
                      ],
                      index: 'projects/idaas-portal/src/index/prod/index.html',
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      budgets: [ { type: 'initial', maximumWarning: '10mb', maximumError: '20mb' }, { type: 'anyComponentStyle', maximumWarning: '6kb' } ]
                    },
                    ci: {
                      fileReplacements: [
                        { replace: 'projects/idaas-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.ci.ts' },
                        { replace: 'projects/wam-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.ci.ts' },
                        { replace: 'projects/iga-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.ci.ts' }
                      ],
                      index: 'projects/idaas-portal/src/index/ci/index.html',
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: true,
                      buildOptimizer: true,
                      budgets: [ { type: 'initial', maximumWarning: '10mb', maximumError: '20mb' }, { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      outputPath: 'dist/idaas-portal/en/'
                    },
                    'production-lang': {
                      fileReplacements: [
                        { replace: 'projects/idaas-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' },
                        { replace: 'projects/wam-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' },
                        { replace: 'projects/iga-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' }
                      ],
                      index: 'projects/idaas-portal/src/index/en/index.html',
                      localize: [ 'en', 'fr' ],
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      budgets: [ { type: 'initial', maximumWarning: '2mb', maximumError: '15mb' }, { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      outputPath: 'dist/idaas-portal',
                      i18nMissingTranslation: 'error'
                    },
                    'production-en': {
                      fileReplacements: [
                        { replace: 'projects/idaas-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' },
                        { replace: 'projects/wam-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' },
                        { replace: 'projects/iga-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' }
                      ],
                      index: 'projects/idaas-portal/src/index/fr/index.html',
                      localize: [ 'en' ],
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      budgets: [ { type: 'initial', maximumWarning: '2mb', maximumError: '15mb' }, { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      outputPath: 'dist/idaas-portal',
                      i18nMissingTranslation: 'error'
                    },
                    'production-fr': {
                      fileReplacements: [
                        { replace: 'projects/idaas-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' },
                        { replace: 'projects/wam-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' },
                        { replace: 'projects/iga-portal/src/environments/environment.ts', with: 'projects/idaas-portal/src/environments/environment.prod.ts' }
                      ],
                      index: 'projects/idaas-portal/src/index/fr/index.html',
                      localize: [ 'fr' ],
                      optimization: true,
                      outputHashing: 'all',
                      sourceMap: false,
                      extractCss: true,
                      namedChunks: false,
                      aot: true,
                      extractLicenses: true,
                      vendorChunk: false,
                      buildOptimizer: true,
                      budgets: [ { type: 'initial', maximumWarning: '2mb', maximumError: '15mb' }, { type: 'anyComponentStyle', maximumWarning: '6kb' } ],
                      outputPath: 'dist/idaas-portal',
                      i18nMissingTranslation: 'error'
                    },
                    dev: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ] },
                    fr: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/idaas-portal-fr/', localize: [ 'fr' ], i18nMissingTranslation: 'error' },
                    de: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/idaas-portal-de/', localize: [ 'de' ], i18nMissingTranslation: 'error' },
                    nl: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/idaas-portal-nl/', localize: [ 'nl' ], i18nMissingTranslation: 'error' },
                    ro: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/idaas-portal-ro/', localize: [ 'ro' ], i18nMissingTranslation: 'error' },
                    ja: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/idaas-portal-ja/', localize: [ 'ja' ], i18nMissingTranslation: 'error' },
                    en: { aot: true, budgets: [ { type: 'anyComponentStyle', maximumWarning: '6kb' } ], outputPath: 'dist/idaas-portal-en/', localize: [ 'en' ], i18nMissingTranslation: 'error' }
                  }
                },
                serve: {
                  builder: '@angular-devkit/build-angular:dev-server',
                  options: { browserTarget: 'idaas-portal:build' },
                  configurations: { production: { browserTarget: 'idaas-portal:build:dev' }, fr: { browserTarget: 'idaas-portal:build:fr' } }
                },
                'extract-i18n': { builder: '@angular-devkit/build-angular:extract-i18n', options: { browserTarget: 'idaas-portal:build' } },
                test: {
                  builder: '@angular-devkit/build-angular:karma',
                  options: {
                    main: 'projects/idaas-portal/src/test.ts',
                    polyfills: 'projects/idaas-portal/src/polyfills.ts',
                    tsConfig: 'projects/idaas-portal/tsconfig.spec.json',
                    karmaConfig: 'projects/idaas-portal/karma.conf.js',
                    stylePreprocessorOptions: { includePaths: [ 'common/styles', '../../common/styles' ] },
                    styles: [
                      'node_modules/material-design-icons-iconfont/dist/material-design-icons.css',
                      'node_modules/roboto-fontface/css/roboto/roboto-fontface.css',
                      'projects/idaas-portal/src/styles.scss'
                    ],
                    scripts: [],
                    assets: [ 'projects/idaas-portal/src/favicon.ico', 'projects/idaas-portal/src/assets' ]
                  }
                },
                lint: {
                  builder: '@angular-devkit/build-angular:tslint',
                  options: { tsConfig: [ 'projects/idaas-portal/tsconfig.app.json', 'projects/idaas-portal/tsconfig.spec.json' ], exclude: [ '**/node_modules/**' ] }
                }
              }
            },
            'idaas-portal-e2e': {
              root: 'projects/idaas-portal-e2e/',
              projectType: 'application',
              prefix: '',
              architect: {
                e2e: {
                  builder: '@angular-devkit/build-angular:protractor',
                  options: { protractorConfig: 'projects/idaas-portal-e2e/protractor.conf.js', devServerTarget: 'idaas-portal:serve' },
                  configurations: { production: { devServerTarget: 'idaas-portal:serve:production' } }
                },
                lint: { builder: '@angular-devkit/build-angular:tslint', options: { tsConfig: 'projects/idaas-portal-e2e/tsconfig.e2e.json', exclude: [ '**/node_modules/**' ] } }
              }
            }
          },
          schematics: { '@schematics/angular:component': { style: 'scss' } },
          defaultProject: 'idaas-portal',
          cli: { defaultCollection: '@schematics/angular' }
        },
        tsConfig: '{"compileOnSave":false,"compilerOptions":{"baseUrl":"./","downlevelIteration":true,"module":"esnext","outDir":"./dist/out-tsc","sourceMap":true,"declaration":false,"moduleResolution":"node","emitDecoratorMetadata":true,"skipLibCheck":true,"experimentalDecorators":true,"target":"es2015","typeRoots":["./local_types","node_modules/@types"],"types":["jasmine","node","jasmine-given"],"lib":["es2017","dom"],"paths":{"id-template-editor-lib":["libs/id-template-editor-lib"],"id-template-editor-lib/*":["libs/id-template-editor-lib/*"],"autospy":["auto-spy"],"autoSpy":["auto-spy"]}},"angularCompilerOptions":{},"files":["projects/iga-portal/src/test.ts","projects/iga-portal/src/polyfills.ts","projects/wam-portal/src/test.ts","projects/wam-portal/src/polyfills.ts","common/components/src/test.ts","common/components/src/polyfills.ts","projects/idaas-portal/src/test.ts","projects/idaas-portal/src/polyfills.ts"],"include":["projects/iga-portal/**/*.spec.ts","projects/iga-portal/**/*.d.ts","projects/wam-portal/**/*.spec.ts","projects/wam-portal/**/*.d.ts","common/components/**/*.spec.ts","common/components/**/*.d.ts","projects/idaas-portal/**/*.spec.ts","projects/idaas-portal/**/*.d.ts"]}',
        polyfill: {
          path: 'D:\\dev\\idaas_front_end\\src\\wallaby-polyfills.js',
          code: "require('D:/dev/idaas_front_end/src/node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js');\r\n" +
            "require('D:/dev/idaas_front_end/src/projects/iga-portal/src/polyfills.ts');\r\n" +
            "require('D:/dev/idaas_front_end/src/projects/wam-portal/src/polyfills.ts');\r\n" +
            "require('D:/dev/idaas_front_end/src/common/components/src/polyfills.ts');"
        },
        main: [
          {
            path: 'D:/dev/idaas_front_end/src/projects/iga-portal/src/test.ts',
            code: '// prettier-ignore\n' +
              '// This file is required by karma.conf.js and loads recursively all the .spec and framework files\n' +
              '// /!\\ Do not order the import for this files.  Zone and Zone-testing must be on always on top\n' +
              '// Do not apply prettier to this files, (deactivate git hooks when commit)\n' +
              '/* import-sort-ignore */\n' +
              '/* tslint:disable:ordered-imports */\n' +
              '// organize-imports-ignore\n' +
              "import 'zone.js/dist/zone'; // import-sort-ignore\n" +
              "import 'zone.js/dist/zone-testing'; // import-sort-ignore\n" +
              "import { getTestBed } from '@angular/core/testing';\n" +
              "import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';\n" +
              '\n' +
              'declare const require: any;\n' +
              '\n' +
              '// First, initialize the Angular testing environment.\n' +
              'getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());\n' +
              '// Then we find all the tests.\n' +
              '\n' +
              '// And load the modules.\n' +
              '\n'
          },
          {
            path: 'D:/dev/idaas_front_end/src/projects/wam-portal/src/test.ts',
            code: '// prettier-ignore\n' +
              '// /!\\ Do not order the import for this files.  Zone and Zone-testing must be on always on top\n' +
              '// Do not apply prettier to this files, (deactivate git hooks when commit)\n' +
              '// This file is required by karma.conf.js and loads recursively all the .spec and framework files\n' +
              '/* import-sort-ignore */\n' +
              '/* tslint:disable:ordered-imports */\n' +
              '// organize-imports-ignore\n' +
              ' // import-sort-ignore\n' +
              ' // import-sort-ignore\n' +
              '\n' +
              '\n' +
              '\n' +
              '\n' +
              '\n' +
              '// First, initialize the Angular testing environment.\n' +
              '\n' +
              '// Then we find all the tests.\n' +
              '\n' +
              '// And load the modules.\n' +
              '\n'
          },
          {
            path: 'D:/dev/idaas_front_end/src/common/components/src/test.ts',
            code: '// prettier-ignore\n' +
              '// /!\\ Do not order the import for this files.  Zone and Zone-testing must be on always on top\n' +
              '// Do not apply prettier to this files, (deactivate git hooks when commit)\n' +
              '// This file is required by karma.conf.js and loads recursively all the .spec and framework files\n' +
              '/* import-sort-ignore */\n' +
              '/* tslint:disable:ordered-imports */\n' +
              '// organize-imports-ignore\n' +
              "import 'core-js/es/reflect';\n" +
              '\n' +
              '\n' +
              '\n' +
              '\n' +
              '\n' +
              '\n' +
              '\n' +
              '// First, initialize the Angular testing environment.\n' +
              '\n' +
              '// Then we find all the tests.\n' +
              '\n' +
              '// And load the modules.\n' +
              '\n'
          },
          {
            path: 'D:/dev/idaas_front_end/src/projects/idaas-portal/src/test.ts',
            code: '// prettier-ignore\n' +
              '// This file is required by karma.conf.js and loads recursively all the .spec and framework files\n' +
              '// /!\\ Do not order the import for this files.  Zone and Zone-testing must be on always on top\n' +
              '// Do not apply prettier to this files, (deactivate git hooks when commit)\n' +
              '/* import-sort-ignore */\n' +
              '/* tslint:disable:ordered-imports */\n' +
              '// organize-imports-ignore\n' +
              ' // import-sort-ignore\n' +
              ' // import-sort-ignore\n' +
              '\n' +
              '\n' +
              '\n' +
              '\n' +
              '\n' +
              '// First, initialize the Angular testing environment.\n' +
              '\n' +
              '// Then we find all the tests.\n' +
              '\n' +
              '// And load the modules.\n' +
              '\n'
          }
        ]
      }
    },
    testFramework: { version: 'jasmine@3.5.0', configurator: 'jasmine@2.1.3', reporter: 'jasmine@2.1.3', starter: 'jasmine@2.1.3', autoDetected: true },
    env: { kind: 'chrome', type: 'browser', params: {}, viewportSize: { width: 800, height: 600 }, options: { width: 800, height: 600 }, bundle: true },
    files: [
      { pattern: 'projects/iga-portal/src/polyfills.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/iga-portal/src/test.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/iga-portal/src/main.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/iga-portal/src/index.html', ignore: true, trigger: true, load: true },
      { pattern: 'projects/iga-portal/src/test.base.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/iga-portal/src/test.wallaby.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/iga-portal/src/**/*.spec.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/iga-portal/src/**/*.+(ts|js)', load: false, ignore: false, trigger: true, order: 1 },
      { pattern: 'projects/iga-portal/src/**/*.+(css|less|scss|sass|styl|html|json|svg)', instrument: false, load: false, ignore: false, trigger: true, order: 2 },
      { pattern: 'projects/wam-portal/src/polyfills.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/wam-portal/src/test.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/wam-portal/src/main.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/wam-portal/src/index.html', ignore: true, trigger: true, load: true },
      { pattern: 'projects/wam-portal/src/test.base.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/wam-portal/src/test.wallaby.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/wam-portal/src/**/*.spec.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/wam-portal/src/**/*.+(ts|js)', load: false, ignore: false, trigger: true, order: 3 },
      { pattern: 'projects/wam-portal/src/**/*.+(css|less|scss|sass|styl|html|json|svg)', instrument: false, load: false, ignore: false, trigger: true, order: 4 },
      { pattern: 'common/components/src/polyfills.ts', ignore: true, trigger: true, load: true },
      { pattern: 'common/components/src/test.ts', ignore: true, trigger: true, load: true },
      { pattern: 'common/components/src/test.base.ts', ignore: true, trigger: true, load: true },
      { pattern: 'common/components/src/test.wallaby.ts', ignore: true, trigger: true, load: true },
      { pattern: 'common/components/src/**/*.spec.ts', ignore: true, trigger: true, load: true },
      { pattern: 'common/components/src/**/*.+(ts|js)', load: false, ignore: false, trigger: true, order: 5 },
      { pattern: 'common/components/src/**/*.+(css|less|scss|sass|styl|html|json|svg)', instrument: false, load: false, ignore: false, trigger: true, order: 6 },
      { pattern: 'projects/idaas-portal/src/polyfills.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/idaas-portal/src/test.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/idaas-portal/src/main.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/idaas-portal/src/index.html', ignore: true, trigger: true, load: true },
      { pattern: 'projects/idaas-portal/src/test.base.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/idaas-portal/src/test.wallaby.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/idaas-portal/src/**/*.spec.ts', ignore: true, trigger: true, load: true },
      { pattern: 'projects/idaas-portal/src/**/*.+(ts|js)', load: false, ignore: false, trigger: true, order: 7 },
      { pattern: 'projects/idaas-portal/src/**/*.+(css|less|scss|sass|styl|html|json|svg)', instrument: false, load: false, ignore: false, trigger: true, order: 8 }
    ],
    tests: [
      { pattern: 'projects/iga-portal/src/**/*.spec.ts', load: false, ignore: false, trigger: true, test: true, order: 9 },
      { pattern: 'projects/wam-portal/src/**/*.spec.ts', load: false, ignore: false, trigger: true, test: true, order: 10 },
      { pattern: 'common/components/src/**/*.spec.ts', load: false, ignore: false, trigger: true, test: true, order: 11 },
      { pattern: 'projects/idaas-portal/src/**/*.spec.ts', load: false, ignore: false, trigger: true, test: true, order: 12 }
    ],
    filesWithNoCoverageCalculated: [],
    runAllTestsInAffectedTestFile: false,
    updateNoMoreThanOneSnapshotPerTestFileRun: false,
    compilers: {},
    preprocessors: {},
    maxConsoleMessagesPerTest: 100,
    autoConsoleLog: true,
    delays: { run: 0, edit: 100, update: 0 },
    workers: { initial: 0, regular: 0, recycle: false },
    teardown: undefined,
    hints: {
      ignoreCoverage: '__REGEXP /ignore coverage|istanbul ignore/',
      ignoreCoverageForFile: '__REGEXP /ignore file coverage/',
      commentAutoLog: '?',
      testFileSelection: { include: '__REGEXP /file\\.only/', exclude: '__REGEXP /file\\.skip/' }
    },
    automaticTestFileSelection: true,
    runSelectedTestsOnly: false,
    extensions: {},
    reportUnhandledPromises: false,
    throwOnBeforeUnload: true,
    slowTestThreshold: 75,
    lowCoverageThreshold: 80,
    loose: true,
    configCode: 'auto.detect#-834437237'
  },
  packageJSON: {
    dependencies: {
      '@angular/animations': '10.1.0',
      '@angular/cdk': '10.2.0',
      '@angular/common': '10.1.0',
      '@angular/compiler': '10.1.0',
      '@angular/core': '10.1.0',
      '@angular/forms': '10.1.0',
      '@angular/localize': '10.1.0',
      '@angular/material': '10.2.0',
      '@angular/material-moment-adapter': '10.2.0',
      '@angular/platform-browser': '10.1.0',
      '@angular/platform-browser-dynamic': '10.1.0',
      '@angular/router': '10.1.0',
      '@datorama/akita': '5.2.3',
      '@datorama/akita-ng-forms-manager': '5.0.2',
      '@ecodev/fab-speed-dial': '6.0.0',
      '@ng-dynamic-forms/core': '12.0.0',
      '@ng-dynamic-forms/ui-material': '12.0.0',
      '@ngneat/until-destroy': '8.0.2',
      '@rxweb/reactive-form-validators': '1.9.8',
      'akita-filters-plugin': '4.1.0-beta.1',
      'angular-oauth2-oidc': '10.0.3',
      'angular-oauth2-oidc-jwks': '9.0.0',
      'angular2-text-mask': '9.0.0',
      brace: '0.11.1',
      'classlist.js': '1.1.20150312',
      'core-js': '3.6.5',
      'file-saver': '2.0.2',
      filepond: '4.20.1',
      'filepond-plugin-file-encode': '2.1.9',
      'filepond-plugin-file-validate-type': '1.2.5',
      'filepond-plugin-image-exif-orientation': '1.0.9',
      'filepond-plugin-image-preview': '4.6.4',
      'filepond-plugin-image-resize': '2.0.7',
      'filepond-plugin-image-transform': '3.7.4',
      'filepond-plugin-image-validate-size': '1.2.4',
      'filepond-polyfill': '1.0.4',
      'lodash-es': '4.17.15',
      'material-design-icons-iconfont': '6.0.2',
      moment: '2.27.0',
      'ngx-avatar': '4.0.0',
      'ngx-clipboard': '13.0.1',
      'ngx-color-picker': '10.0.1',
      'ngx-cookie-service': '10.0.1',
      'ngx-filepond': '5.0.1',
      'ngx-http-annotations': '0.7.0',
      'ngx-i18nsupport': '0.17.1',
      'ngx-lodash-pipes': '0.0.8',
      'ngx-markdown': '10.1.1',
      'ngx-moment': '5.0.0',
      'ngx-papaparse': '4.0.4',
      'ngx-valdemort': '4.0.0',
      'roboto-fontface': '0.10.0',
      rxjs: '6.6.2',
      'secure-random-password': '0.2.1',
      tslib: '2.0.1',
      'web-animations-js': '2.3.2',
      'zone.js': '0.11.1'
    },
    devDependencies: {
      '@angular-devkit/build-angular': '0.1001.0',
      '@angular-devkit/build-ng-packagr': '0.1001.0',
      '@angular/cli': '10.1.0',
      '@angular/compiler-cli': '10.1.0',
      '@angular/language-service': '10.1.0',
      '@babel/core': '7.11.6',
      '@datorama/akita-ng-router-store': '5.1.6',
      '@datorama/akita-ngdevtools': '5.0.3',
      '@nrwl/cypress': '10.1.0',
      '@nrwl/workspace': '10.1.0',
      '@schuchard/prettier': '3.1.0',
      '@storybook/addon-a11y': '5.3.19',
      '@storybook/addon-actions': '5.3.18',
      '@storybook/addon-backgrounds': '5.3.19',
      '@storybook/addon-console': '1.2.1',
      '@storybook/addon-cssresources': '5.3.19',
      '@storybook/addon-knobs': '5.3.18',
      '@storybook/addon-links': '5.3.18',
      '@storybook/addon-notes': '5.3.18',
      '@storybook/addon-storysource': '5.3.19',
      '@storybook/addon-viewport': '5.3.19',
      '@storybook/addons': '5.3.18',
      '@storybook/angular': '5.3.18',
      '@types/cypress-image-snapshot': '3.1.2',
      '@types/file-saver': '2.0.1',
      '@types/jasmine': '3.5.10',
      '@types/jasmine-given': '2.6.4',
      '@types/jasminewd2': '2.0.8',
      '@types/node': '12.11.1',
      '@types/ua-parser-js': '0.7.33',
      'ace-builds': '1.4.12',
      'babel-loader': '8.1.0',
      codelyzer: '5.2.2',
      'cross-env-file': '1.0.0',
      cypress: '5.1.0',
      'cypress-image-snapshot': '3.1.1',
      husky: '4.3.0',
      intl: '1.2.5',
      'jasmine-auto-spies': '5.4.0',
      'jasmine-core': '3.6.0',
      'jasmine-given': '2.6.4',
      'jasmine-marbles': '0.6.0',
      'jasmine-spec-reporter': '5.0.2',
      'json-server': '0.16.1',
      karma: '5.2.1',
      'karma-chrome-launcher': '3.1.0',
      'karma-coverage-istanbul-reporter': '3.0.3',
      'karma-es6-shim': '1.0.0',
      'karma-firefox-launcher': '1.3.0',
      'karma-html-detailed-reporter': '2.1.0',
      'karma-jasmine': '4.0.1',
      'karma-jasmine-given': '0.1.1',
      'karma-jasmine-html-reporter': '1.5.4',
      'karma-junit-reporter': '2.0.1',
      'karma-mocha-reporter': '2.2.5',
      'karma-spec-reporter': '0.0.32',
      'lint-staged': '10.3.0',
      mocha: '8.1.3',
      mochawesome: '6.1.1',
      'mochawesome-merge': '4.1.0',
      'mochawesome-report-generator': '5.1.0',
      'ng-bullet': '1.0.3',
      'ng-mocks': '10.1.2',
      'ng-packagr': '10.1.0',
      'node-sass': '4.14.1',
      'npm-run-all': '4.1.5',
      prettier: '2.1.1',
      'prettier-plugin-organize-imports': '1.1.1',
      'pretty-quick': '3.0.0',
      protractor: '7.0.0',
      rimraf: '3.0.2',
      scuri: '1.0.1',
      'start-server-and-test': '1.11.3',
      'ts-node': '8.3.0',
      'tsconfig-paths-webpack-plugin': '3.3.0',
      tslint: '5.18.0',
      'tslint-config-prettier': '1.18.0',
      typescript: '3.9.7',
      'ua-parser-js': '0.7.21',
      'wallaby-webpack': '3.9.15',
      yargs: '15.4.1'
    }
  },
  fs: { numberOfFiles: 1217 },
  debug: [
    '2020-09-11T09:39:08.516Z angular/cli config Detected Angular CLI.\n',
    '2020-09-11T09:39:24.359Z angular/cli karma workspace config Using virtual D:/dev/idaas_front_end/src/projects/iga-portal/src/test.ts.\n',
    '2020-09-11T09:39:24.363Z angular/cli karma workspace config Using virtual D:/dev/idaas_front_end/src/projects/wam-portal/src/test.ts.\n',
    '2020-09-11T09:39:24.367Z angular/cli karma workspace config Using virtual D:/dev/idaas_front_end/src/common/components/src/test.ts.\n',
    '2020-09-11T09:39:24.370Z angular/cli karma workspace config Using virtual D:/dev/idaas_front_end/src/projects/idaas-portal/src/test.ts.\n',
    '2020-09-11T09:39:24.370Z angular/cli karma workspace config Using virtual D:\\dev\\idaas_front_end\\src\\tsconfig.wallaby.spec.json.\n',
    '2020-09-11T09:39:28.085Z project Wallaby Node version: v12.16.3\n',
    '2020-09-11T09:39:28.085Z project Wallaby config: D:\\dev\\idaas_front_end\\src\\auto.detect\n',
    '2020-09-11T09:39:38.102Z project File cache: C:\\Users\\A740550\\AppData\\Local\\JetBrains\\IntelliJIdea2020.2\\wallaby\\projects\\bd406ac8b2720950\n',
    '2020-09-11T09:39:38.413Z uiService Listening port 51235\n',
    '2020-09-11T09:39:39.214Z workers Parallelism for initial run: 6, for regular run: 3\n',
    '2020-09-11T09:39:39.215Z workers Starting run worker instance #0\n',
    '2020-09-11T09:39:39.215Z workers Starting run worker instance #1\n',
    '2020-09-11T09:39:39.216Z workers Starting run worker instance #2\n',
    '2020-09-11T09:39:39.216Z workers Starting run worker instance #3\n',
    '2020-09-11T09:39:39.216Z workers Starting run worker instance #4\n',
    '2020-09-11T09:39:39.216Z workers Starting run worker instance #5\n',
    '2020-09-11T09:39:39.223Z workers Web server is listening at 60692\n',
    '2020-09-11T09:39:39.323Z project Stopping process pool\n',
    '2020-09-11T09:39:39.323Z project File cache is up-to-date, starting full test run\n',
    '2020-09-11T09:39:39.329Z project Running postprocessor\n',
    '2020-09-11T09:39:39.386Z postprocessor Processing started.\n',
    '2020-09-11T09:39:39.386Z postprocessor Initializing.\n',
    '2020-09-11T09:39:39.391Z postprocessor Initializing entry.\n',
    '2020-09-11T09:39:39.394Z postprocessor Sanitizing configuration.\n',
    '2020-09-11T09:39:39.395Z postprocessor Adjusting configuration.\n',
    '2020-09-11T09:39:39.395Z postprocessor Creating compiler.\n',
    '2020-09-11T09:39:45.272Z postprocessor Customizing compiler.\n',
    '2020-09-11T09:39:45.272Z postprocessor Compilation started.\n',
    '2020-09-11T09:40:59.955Z workers Started run worker instance (immediate) #0\n',
    '2020-09-11T09:40:59.958Z workers Started run worker instance (immediate) #1\n',
    '2020-09-11T09:40:59.958Z workers Started run worker instance (immediate) #2\n',
    '2020-09-11T09:40:59.958Z workers Started run worker instance (immediate) #3\n',
    '2020-09-11T09:40:59.959Z workers Started run worker instance (immediate) #4\n',
    '2020-09-11T09:40:59.959Z workers Started run worker instance (immediate) #5\n',
    "2020-09-11T09:41:00.079Z project Error: Entry module not found: TypeError: Cannot read property 'name' of undefined\n" +
      '    at t.<anonymous> (C:\\Users\\A740550\\AppData\\Local\\JetBrains\\IntelliJIdea2020.2\\wallaby\\wallaby\\server.js:20:29062)\n' +
      '    at r (C:\\Users\\A740550\\AppData\\Local\\JetBrains\\IntelliJIdea2020.2\\wallaby\\wallaby\\server.js:20:25453)\n' +
      '    at Object.next (C:\\Users\\A740550\\AppData\\Local\\JetBrains\\IntelliJIdea2020.2\\wallaby\\wallaby\\server.js:20:24748)\n' +
      '    at o (C:\\Users\\A740550\\AppData\\Local\\JetBrains\\IntelliJIdea2020.2\\wallaby\\wallaby\\server.js:20:24507)\n' +
      '    at processTicksAndRejections (internal/process/task_queues.js:97:5)\n',
    '2020-09-11T09:41:00.084Z project Test run finished\n',
    '2020-09-11T09:41:00.084Z project Test run data re-queued\n'
  ]
}
ArtemGovorov commented 4 years ago

@manudss Yes, the fix had been released in the newer version, and your core version (1.0.948) is not the latest. If you close all instances of your IDE and restart it, then next time you start Wallaby it should download the latest core version v1.0.954.

If the latest version is not downloaded, try this:

manudss commented 4 years ago

Thanks,

The auto download does not working. But it's working after delete folders.

smcenlly commented 4 years ago

@manudss - could you also please provide us with your IntelliJ IDEA log file (Help -> Show Log in Explorer).

If you do not feel comfortable providing your log in this issue, you may send it to us via email (hello@wallabyjs.com).