You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
while trying to update to version 6.0 I get the following error while updating via yarn update.
Cannot read property 'browserTarget' of undefined
It occurs while updating UPDATE karma.conf.js (1675 bytes) .
This is my karma.conf.js
karma.conf.js
// Karma configuration file, see link for more information// https://karma-runner.github.io/0.13/config/configuration-file.htmlconst{ makeSureNoAppIsSelected }=require('@nrwl/schematics/src/utils/cli-config-utils');// Nx only supports running unit tests for all apps and libs.makeSureNoAppIsSelected();module.exports=function(config){config.set({basePath: '',frameworks: ['jasmine','@angular/cli'],plugins: [require('karma-jasmine'),require('karma-chrome-launcher'),require('@angular/cli/plugins/karma'),require('karma-jasmine-html-reporter'),require('karma-coverage-istanbul-reporter')],client:{clearContext: false// leave Jasmine Spec Runner output visible in browser},coverageIstanbulReporter: {reports: ['html','lcovonly'],fixWebpackSourcePaths: true},angularCli: {environment: 'dev'},reporters: config.angularCli&&config.angularCli.codeCoverage
? ['progress','coverage-istanbul']
: ['progress','kjhtml'],port: 9876,colors: true,logLevel: config.LOG_INFO,autoWatch: true,browsers: ['Chrome','ChromeHeadless'],singleRun: false,browserConsoleLogOptions: {level: 'log',format: '%b %T: %m',terminal: true},/** * maximum number of tries a browser will attempt in the case of a disconnection */browserDisconnectTolerance: 3,/** * How long will Karma wait for a message from a browser before disconnecting from it (in ms). */browserNoActivityTimeout: 50000});};
Update:
It Seems it happens after upgrading karma.conf.js .
There seems to be something wrong in the generated angular.json .
Hi,
while trying to update to version 6.0 I get the following error while updating via yarn update.
Cannot read property 'browserTarget' of undefined
It occurs while updating UPDATE karma.conf.js (1675 bytes) .
This is my karma.conf.js
karma.conf.js
Update:
It Seems it happens after upgrading karma.conf.js .
There seems to be something wrong in the generated angular.json .
angular.json
The text was updated successfully, but these errors were encountered: