[Solved] ModuleParseError: Module parse failed: Unexpected character

2024/04/25 11:26

Error

./src/pages/Lexical/lexical.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)
at handleParseError (E:\xampp\htdocs\saas\myproj\node_modules\next\dist\compiled\webpack\bundle5.js:28:401867)

./node_modules/katex/dist/katex.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)

Solution

install the required package.

Leave a Reply

Back to top