Getting error Mdb.css


Topic: Getting error Mdb.css

kanwar asked 11 months 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.


Piotr Glejzer staff commented 11 months ago

Hello, try to go to mdb.css file and remove 'charset@' and recompile again


Sudhir Dadwal commented 1 months 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 1 months ago

do you have correctly loaders in your webpack config?


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: React
  • MDB Version: 4.24.0
  • Device: desktop
  • Browser: chrome
  • OS: linux
  • Provided sample code: No
  • Provided link: Yes