mkhstar / suneditor-react

A React Component for SunEditor (WYSIWYG editor)
http://suneditor.com/
424 stars 105 forks source link

There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. #337

Closed NishilSB closed 10 months ago

NishilSB commented 11 months ago

Describe the bug After udating to React 18 and webpack-dev-server 4.15.1, iam getting this error on starting the project. "suneditor-react": "^3.5.0",

when i use "webpack-dev-server": "^3.11.2", it is working fine

There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic

Related repository

To Reproduce update to react 18 and webpack-dev-server 4.15.1 and try to compile the project

Expected behavior app should compile successfully

Screenshots image

Code Sandbox Demo A code sandbox demo to demonstrate the problem to convince us of the issue

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

mkhstar commented 11 months ago

This must be a problem with your webpack setup, when i check the dist, it has on SunEditor.js