Webpack error when using v5.0.0
See original GitHub issue`WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.module.rules[1].resolve has an unknown property ‘fullySpecified’. These properties are valid: object { alias?, aliasFields?, cachePredicate?, cacheWithContext?, concord?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, ignoreRootsErrors?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, preferAbsolute?, resolver?, roots?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }`
serverless offline won’t start because of this error
My quick fix was to comment out the following inside src/webpack.config.js What would be a final fix? Thanks
// { // test: /\.mjs$/, // include: /node_modules/, // type: "javascript/auto", // resolve: { // fullySpecified: false, // }, // },
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:20 (7 by maintainers)
Top Results From Across the Web
To v5 from v4 - webpack
This guide aims to help you migrating to webpack 5 when using webpack directly. ... There should be a validation error with a...
Read more >How to Fix the Error Error:error:0308010C:digital envelope ...
In v5.0.0 of Create React App, the version of the cached Webpack modules and chunks gets generated using a stringified object of environment...
Read more >Webpack v5 builds with a module parsing error - Stack Overflow
I'm currently migrating my project from Webpack v4 to v5 and my build finishes with an Error @My-MacBook-Pro seacat-webui % node ...
Read more >ModuleNotFoundError After Update to babylon 5.0.0 alpha
Hi, gens I got this webpack error after the update from v4.2 to v5.0 ModuleNotFoundError: Module not found: Error: Can't resolve '.
Read more >webpack/webpack - Gitter
Ingwie@Ingwies-Macbook-Pro.local ~/W/BIRD3 $ npm cache clean -f npm info it worked if it ends with ok npm info using npm@3.3.6 npm info using...
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
I totally gave up on updating this library. It does not work properly since 5.0.
Went back to v4.4.0 due to this issue. Even if I can make it work locally using the hack mentioned above, the CI/CD doesn’t like it.