Open FullStackAlex opened 5 years ago
npm WARN mocha-webpack@2.0.0-beta.0 requires a peer of mocha@>=4 <=5 but none was installed.
yes, it's just a warning. Testing still works without any issues. At least in my case
If this is solved, why not close it?
Hey guys, that's how I've got Mocha work in my project using Mocha 6, Webpack 4 and Toposort 2 (Cyclic dependency error):
I've just added all the latest versions in the package.json and deleted package-lock.json and node_modules and run again:
npm install
Since then I've got Mocha finally work!! No need for forks!
Here are my devDependencies in the package.json: