
./node_modules/next/dist/client/components/app-router.js
There are multiple modules with names that only differ in casing.
문제발생
노트북으로 공부하던 프로젝트를 깃헙에 올리고 데스크탑으로 클론해서 npm run dev 실행시키니 발생한 오류였다.
문제해결 시도
1. rm -rf .next && rm -rf node_modules 로 새로 설치해보았지만 실패
2. node 버젼 문제같아서 nvm 으로 20.9.0 버젼 설치 후 1번 과정 다시 시도 해보았지만 실패
좀 더 낮은 18.18.2도 동일하게 해보았지만 실패
3. 좀 더 구글링 해보았더니 해결책을 찾았다.
Webpack: "there are multiple modules with names that only differ in casing" but modules referenced are identical
I'm using webpack 3.8.1 and am receiving several instances of the following build warning: WARNING in ./src/Components/NavBar/MainMenuItemMobile.js There are multiple modules with names that only
stackoverflow.com

git bash 로 맨 처음 경로를 cd로 찾아 들어갈때 대소문자를 정확히 해주지 않으면 발생하는 에러였다.

