인프런 커뮤니티 질문&답변
./node_modules/next/Link.js 에러
작성
·
449
0
안녕하세요 ~
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.
Use equal casing. Compare these module identifiers:
* /Users/kaipharm_shahn/personal_project/node-bird/front/node_modules/next/Link.js
Used by 2 module(s), i. e.
/Users/kaipharm_shahn/personal_project/node-bird/front/node_modules/@next/react-refresh-utils/loader.js!/Users/kaipharm_shahn/personal_project/node-bird/front/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4-1!/Users/kaipharm_shahn/personal_project/node-bird/front/components/LoginForm.js
* /Users/kaipharm_shahn/personal_project/node-bird/front/node_modules/next/link.js
Used by 4 module(s), i. e.
/Users/kaipharm_shahn/personal_project/node-bird/front/node_modules/@next/react-refresh-utils/loader.js!/Users/kaipharm_shahn/personal_project/node-bird/front/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js??ref--4-1!/Users/kaipharm_shahn/personal_project/node-bird/front/components/AppLayout.js
info - ready on http://localhost:3060
4. WrappedApp created new store with withRedux(NodeBird) { initialState: undefined, initialStateFromGSPorGSSR: undefined }
4. WrappedApp created new store with withRedux(NodeBird) { initialState: undefined, initialStateFromGSPorGSSR: undefined }
이러한 에러가 뜨면서 vscode에 입력이 안되면서 느려지는데 ,
혹시나 extension 충돌이 난건가 싶어서 다 지워봤는데 그래도 안되네요 ㅠㅠ 왜 안될까요 ?
답변 4
0
0

npm run dev 하거나 , 저장하게 되면 몇초 동안 길게는 1분동안 cursor 가 움직이지 않는데 ..
이유가 뭘까요 .. 컴터 사양이 안좋은것도 아닌것같은데...
혹시 몰라서 webstorm 결제 하지 않았지만 한달 무료라서 그걸로 돌려보면 또 렉이 걸리지 않고
npm run dev 한다거나 저장을 해도 정상적으로 방향대로 cursor 가 움직입니다. 잘 이유를 모르겠네요 ㅠㅠ
0
0
어떤 곳에는 import Link from 'next/link' 하시고 어떤 곳에는 import Link from 'next/Link' 하신 것 같네요. 하나로 통일하세요.




