'Error: Prevent writing to file that only differs in casing or query string from already written file. reactjs laravel
I am working on a laravel reactjs project and when I run the command npm run dev
the compilation stuck at 95% and give the following error. I checked in the whole project there is no file calling with the case-sensitive names all images are calling with the lower case letters.
Error: Prevent writing to file that only differs in casing or query string from already written file.
This will lead to a race-condition and corrupted files on case-insensitive file systems.
/media/public/images/user-4.jpg
/media/public/images/user-4.jpg
React: 17.0.1
Webpack: 5.21.2
Node: 14.15.2
Solution 1:[1]
I have the same issue used lowercase letters and it resolved
Solution 2:[2]
I got a similar error. the solution is as follows
/media/public/images/user-4.jpg
/media/public/images/user-4.jpg
rewrite
[name]user-4.jpg
I think your problem is path .
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Arun kumar mahesh |
Solution 2 | AlainIb |