[comixed-dev] Weird error running unit tests...

  • From: "Darryl L. Pierce" <mcpierce@xxxxxxxxx>
  • To: comixed-dev@xxxxxxxxxxxxx
  • Date: Mon, 1 Nov 2021 16:48:42 -0400

Working on a ticket today I'm suddenly seeing this error on both
master and my testing branch:

---8<[snip]---
01 11 2021 15:58:25.001:ERROR [karma-server]: UnhandledRejection:
Cannot read properties of undefined (reading 'range')
01 11 2021 15:58:25.001:ERROR [karma-server]: TypeError: Cannot read
properties of undefined (reading 'range')
    at handleRangeHeaders
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/@angular-devkit/build-angular/node_modules/webpack-dev-middleware/lib/util.js:131:21)
    at processRequest
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/@angular-devkit/build-angular/node_modules/webpack-dev-middleware/lib/middleware.js:98:19)
    at ready 
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/@angular-devkit/build-angular/node_modules/webpack-dev-middleware/lib/util.js:53:12)
    at handleRequest
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/@angular-devkit/build-angular/node_modules/webpack-dev-middleware/lib/util.js:182:5)
    at 
/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/@angular-devkit/build-angular/node_modules/webpack-dev-middleware/lib/middleware.js:64:7
    at new Promise (<anonymous>)
    at middleware
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/@angular-devkit/build-angular/node_modules/webpack-dev-middleware/lib/middleware.js:63:12)
    at 
/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/karma.js:270:13
    at call 
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/connect/index.js:239:7)
    at next 
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/connect/index.js:183:5)
    at 
/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/karma/lib/web-server.js:24:9
    at call 
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/connect/index.js:239:7)
    at next 
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/connect/index.js:183:5)
    at nullProxy
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/karma/lib/middleware/proxy.js:81:52)
    at call 
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/connect/index.js:239:7)
    at next 
(/Users/mcpierce/Repositories/comixed/comixed-webui/node_modules/connect/index.js:183:5)
---8<[snip]---

Anybody else seeing this? Since it's happening on master I don't
believe it's our code at fault.

-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
"Le centre du monde est partout." - Blaise Pascal
"Let's try and find some point of transcendence and leap together." -
Gord Downie

Other related posts: