Webpack/React Install
See original GitHub issueSo, I have been trying for several hours to get this to work properly with webpack for a react project. If I include the JS either via requiring directly to the materialize.js file or by importing the framework I get the following error during compile. Anyone got any ideas how to fix this.
It all seems to load fine and the JavaScript functions and CSS stuff all works properly, but I would really like to make this error go away.
WARNING in ./~/jquery/dist/jquery.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.
WARNING in ./~/jQuery/dist/jquery.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expecked.
Thanks
Gareth
Issue Analytics
- State:
- Created 8 years ago
- Comments:6
Top Results From Across the Web
Installation | webpack
To run the local installation of webpack you can access its binary version as node_modules/.bin/webpack . Alternatively, if you are using npm v5.2.0...
Read more >How to Install Webpack with React JS from Scratch?
Install Webpack in React · 1. Install npm int | Installing dependencies · 2. Set up Project Structure · 3. Create a simple...
Read more >Webpack - npm
Webpack is a bundler for modules. The main purpose is to bundle JavaScript files for usage in a browser, yet it is also...
Read more >Setup react with webpack and babel - Medium
First, we need to install webpack to our project. ... This install 3 packages main webpack package, webpack-cli to run webpack commands and...
Read more >How to Setup Webpack with React JS? - KnowledgeHut
Install Webpack in React · Set Up Project Structure · Create a Simple React App · Utilizing Loaders · Configure React-webpack · Bundle...
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 solved this error without having to edit materialize-css bin file. In your
webpack.config.js
, simply add the following rule:@pistou 's solution works like a charm. Merci beaucoup !