GithubHelp home page GithubHelp logo

Comments (2)

sabberworm avatar sabberworm commented on September 27, 2024

Could you try to figure out what page the error appears on? Is it the page with the iframes on it or an individual iframed test page?

from karma-iframes.

swachter avatar swachter commented on September 27, 2024

I am not sure how I can figure out the page the error appears on. Below is the error output. Maybe this contains a clue:

Chrome 79.0.3945 (Windows 7.0.0) ERROR
  Uncaught ReferenceError: jasmineRequire is not defined
  at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/html.jasmine.reporter.js:23:1

  ReferenceError: jasmineRequire is not defined
      at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/html.jasmine.reporter.js:23:1

Chrome 79.0.3945 (Windows 7.0.0) ERROR
  Uncaught ReferenceError: jasmineRequire is not defined
  at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/html.jasmine.reporter.js:23:1

  ReferenceError: jasmineRequire is not defined
      at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/html.jasmine.reporter.js:23:1
Chrome 79.0.3945 (Windows 7.0.0) ERROR
  Uncaught ReferenceError: jasmineRequire is not defined
  at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/adapter.js:6:3

  ReferenceError: jasmineRequire is not defined
      at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/adapter.js:6:3
      at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/adapter.js:81:3

Chrome 79.0.3945 (Windows 7.0.0) ERROR
  Uncaught ReferenceError: jasmineRequire is not defined
  at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/adapter.js:6:3

  ReferenceError: jasmineRequire is not defined
      at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/adapter.js:6:3
      at C:/project/app/node_modules/karma-jasmine-html-reporter/src/lib/adapter.js:81:3
Chrome 79.0.3945 (Windows 7.0.0) ERROR
  Uncaught Error: Missing: jasmine.js
  at http://localhost:9876/_karma_webpack_/vendor.js:233437:13

  Error: Missing: jasmine.js
      at http://localhost:9876/_karma_webpack_/vendor.js:233437:19
      at Object.<anonymous> (http://localhost:9876/_karma_webpack_/vendor.js:233695:7)
      at http://localhost:9876/_karma_webpack_/vendor.js:233049:37
      at Object.<anonymous> (http://localhost:9876/_karma_webpack_/vendor.js:233053:2)
      at Object../node_modules/zone.js/dist/zone-testing.js (http://localhost:9876/_karma_webpack_/vendor.js:234616:30)
      at __webpack_require__ (http://localhost:9876/_karma_webpack_/main.js:85:30)
      at Object../src/test.ts (http://localhost:9876/_karma_webpack_/main.js:40845:1)
      at __webpack_require__ (http://localhost:9876/_karma_webpack_/main.js:85:30)
      at checkDeferredModules (http://localhost:9876/_karma_webpack_/main.js:46:23)
      at http://localhost:9876/_karma_webpack_/main.js:222:18

Chrome 79.0.3945 (Windows 7.0.0) ERROR
  Uncaught Error: Missing: jasmine.js
  at http://localhost:9876/_karma_webpack_/vendor.js:233437:13

  Error: Missing: jasmine.js
      at http://localhost:9876/_karma_webpack_/vendor.js:233437:19
      at Object.<anonymous> (http://localhost:9876/_karma_webpack_/vendor.js:233695:7)
      at http://localhost:9876/_karma_webpack_/vendor.js:233049:37
      at Object.<anonymous> (http://localhost:9876/_karma_webpack_/vendor.js:233053:2)
      at Object../node_modules/zone.js/dist/zone-testing.js (http://localhost:9876/_karma_webpack_/vendor.js:234616:30)
      at __webpack_require__ (http://localhost:9876/_karma_webpack_/main.js:85:30)
      at Object../src/test.ts (http://localhost:9876/_karma_webpack_/main.js:40845:1)
      at __webpack_require__ (http://localhost:9876/_karma_webpack_/main.js:85:30)
      at checkDeferredModules (http://localhost:9876/_karma_webpack_/main.js:46:23)
      at http://localhost:9876/_karma_webpack_/main.js:222:18
07 01 2020 14:33:50.789:WARN [Chrome 79.0.3945 (Windows 7.0.0)]: Disconnected (0 times), because no message in 30000 ms.
Chrome 79.0.3945 (Windows 7.0.0) ERROR
  Disconnected, because no message in 30000 ms.

This is the relevant configuration from karma.conf.js:

    frameworks: ['jasmine', '@angular-devkit/build-angular', 'iframes'],
    plugins: [
      require('karma-iframes'),
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-jasmine-html-reporter'),
      require('karma-coverage-istanbul-reporter'),
      require('@angular-devkit/build-angular/plugins/karma')
    ],

from karma-iframes.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.