Topic: Getting error Mdb.css
kanwar free asked 4 years ago
Hey, team, I am using this version of "mdbreact": "^4.24.0",i am getting this error when I start the server .[ error ] ./node_modules/mdbreact/dist/css/mdb.css ModuleParseError: Module parse failed: Unexpected character '�' (1:0) You may need an appropriate loader to handle this file type, currently, no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code omitted for this binary file) Can you please help me. Thanks.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.24.0
- Device: desktop
- Browser: chrome
- OS: linux
- Provided sample code: No
- Provided link: Yes
Piotr Glejzer staff commented 4 years ago
Hello, try to go to mdb.css file and remove 'charset@' and recompile again
Sudhir Dadwal free commented 3 years ago
Hi, I am facing the same issue with version "mdbreact": "^5.0.1", Also, I have not found anything like 'charset@' in my setup
[ error ] ./node_modules/mdbreact/dist/css/mdb.css ModuleParseError: Module parse failed: Unexpected character '�' (1:0)
Any fixes.
Piotr Glejzer staff commented 3 years ago
do you have correctly loaders in your webpack config?
shimon priority commented 2 years ago
How would I put in the loaders correctly
Krzysztof Wilk staff commented 2 years ago
You can check how to add loaders to your webpack here: https://webpack.js.org/loaders/#styling