Giter Club home page Giter Club logo

Comments (10)

chuckdumont avatar chuckdumont commented on August 16, 2024

@g2nconnell - can you provide a test case that reproduces the problem. I can't reproduce it. I'm using Istanbul/jasmine instead of karma/jasmine, but dojo/on works fine.

from dojo-webpack-plugin.

g2nconnell avatar g2nconnell commented on August 16, 2024

Here's a compressed file with all but the minimum stripped out. Refer to README.txt.
bugrepro.zip

from dojo-webpack-plugin.

chuckdumont avatar chuckdumont commented on August 16, 2024

When I run npm install I get the following error:

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/karma-mw-browser-support - Not found
npm ERR! 404
npm ERR! 404  '[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'bugrepro'

It seems that you're loading this from a local artifactory repo

from dojo-webpack-plugin.

g2nconnell avatar g2nconnell commented on August 16, 2024

Sorry, I missed stripping out one thing. Just remove that line from package.json

from dojo-webpack-plugin.

g2nconnell avatar g2nconnell commented on August 16, 2024

I removed that dependency. Here's a new repro test project
bugrepro.zip

from dojo-webpack-plugin.

chuckdumont avatar chuckdumont commented on August 16, 2024

Doesn't seem to like running without it:

Starting Unit Tests...
02 08 2021 11:25:25.683:ERROR [plugin]: Cannot find plugin "karma-mw-browser-support".
  Did you forget to install it?
  npm install karma-mw-browser-support --save-dev

START:
Webpack bundling...

02 08 2021 11:25:27.569:ERROR [karma-server]: Error: Found 1 load error
    at Server.<anonymous> (C:\Users\Chuck\git\bugrepro\node_modules\karma\lib\server.js:239:26)
    at Object.onceWrapper (events.js:421:28)
    at Server.emit (events.js:327:22)
    at emitListeningNT (net.js:1352:10)
    at processTicksAndRejections (internal/process/task_queues.js:79:21)

from dojo-webpack-plugin.

g2nconnell avatar g2nconnell commented on August 16, 2024

I removed that dependency in the latest zip file (from karma.conf.js). Please try with the latest .zip.

from dojo-webpack-plugin.

chuckdumont avatar chuckdumont commented on August 16, 2024

OK, I can reproduce with the latest zip

from dojo-webpack-plugin.

g2nconnell avatar g2nconnell commented on August 16, 2024

Great! Thanks for your help.

from dojo-webpack-plugin.

chuckdumont avatar chuckdumont commented on August 16, 2024

Fixed in 3.0.2

from dojo-webpack-plugin.

Related Issues (20)

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.