Warnings with Webpack 5
See original GitHub issueIssue Description
WARNING in ./node_modules/cypress-axe/dist/index.js 16:47-54
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./cypress/support/index.js 3:0-21
@ ./node_modules/@cypress/webpack-dev-server/dist/loader.js!./node_modules/@cypress/webpack-dev-server/dist/browser.js 2:30-69
@ ./node_modules/@cypress/webpack-dev-server/dist/browser.js 3:4-41
WARNING in ./node_modules/cypress-axe/dist/index.js 16:77-84
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./cypress/support/index.js 3:0-21
@ ./node_modules/@cypress/webpack-dev-server/dist/loader.js!./node_modules/@cypress/webpack-dev-server/dist/browser.js 2:30-69
@ ./node_modules/@cypress/webpack-dev-server/dist/browser.js 3:4-41
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Webpack 5 Issues | Documentation - Web3Auth
This issue is caused due to the fact that the web3.js and ethers.js packages have certain dependencies, which are not present within the...
Read more >Stats - webpack
Tells stats whether to group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent). module.exports = { //... stats: { ...
Read more >Webpack 5 errors | ImmutableX Documentation
The reason for this error is that create-react-app uses a version of webpack greater than 5, which, unlike versions < 5, does not...
Read more >Webpack 5 - quiet warnings originating from node_modules?
Is it possible to tell webpack dev server to ignore this specific kind of warning, or any warning that originates from within the...
Read more >warnings-to-errors-webpack-plugin - npm
Change every warning as error to ensure safe build. Latest version: 2.3.0, last published: a year ago.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Another tip is that if you update to the new webpack dev server, may be you are running tests with cypress component tests you probably want to set the webpack config with something like this:
because these warns start to appear in an overlay which will cause your tests to fail.
Seems this issue could be closed.