


Since we switched to Angular 12 (Webpack 5) in our premiere-pro panels running inside Chromium Embedded Framework including node and node-webkit, our Jasmine tests cannot be started by Karma. How can we configure that for running with karma, so that we can test with empty or simulated modules? If you need some additional output, let me know which commands to run. Nb: I would like to give a bit more insight about my running environment but as I'm still getting my feet wet, I don't know which commands are the best to represent a snapshot of my dev-environment. Will my compiled code still work? Even if these sections are configured as being empty? What does it actually do?Īlso, is this the right place to ask this? Or should it be rather targeted at vuejs? I now added two sections in my webpack config for both fs and dgram, and now the errors are gone.īut I don't know what this entails. The latter one prompted me to hit Google and landed on this issue. After running npm install net and npm install dns, those errors were replaced with dgram and fs. My first thought was that those are missing dependencies. At first I got the same error but with other packages ( net and dns). I got this error when using the "fetch" library from npm. I am starting off with JS (with vuejs) and I would like to understand what this does?
