๋นŒ๋“œ ์ค‘ Module not found Error (Git)

2024. 7. 26. 03:27ยทissue

AWS Amplify ๋นŒ๋“œ ์ค‘์— ๋‹ค๋ฅธ ๊ฒƒ๋„ ์•„๋‹ˆ๊ณ  ๋œฌ๊ธˆ์—†์ด Module not found: Can't resolve '/...'

2024-06-12T05:08:07.742Z [WARNING]: ./app/_components/layout/Sidebar.tsx
Module not found: Can't resolve '@/_components/auth/signout/actions'
https://nextjs.org/docs/messages/module-not-found
./app/_components/layout/Sidebar.tsx
Module not found: Can't resolve '@/public/icons/signouticon.png'
https://nextjs.org/docs/messages/module-not-found
./app/_components/layout/Signin.tsx
Module not found: Can't resolve '@/_components/auth/signin/LoginForm'
https://nextjs.org/docs/messages/module-not-found
./app/_components/layout/Signin.tsx
Module not found: Can't resolve '@/_components/auth/signup/SignupForm'
https://nextjs.org/docs/messages/module-not-found
> Build failed because of webpack errors
...

 

๋กœ์ปฌ์—์„œ ์ž‘์—… ์ค‘์ผ ๋•Œ๋Š” ๊ฒฝ๋กœ์— ์•„๋ฌด ๋ฌธ์ œ ์—†์—ˆ๋Š”๋ฐ..? ๋‹ค ์˜๋ฌธ์œผ๋กœ ์ž˜ ์ผ๋Š”๋ฐ ์™œ??


๊ทธ๋ž˜์„œ ์œ„ ์—๋Ÿฌ ๋ฉ”์„ธ์ง€๋ž‘ git repo์— ํ‘ธ์‹œ๋œ ํŒŒ์ผ์„ ๋น„๊ตํ•ด์„œ ๋œฏ์–ด๋ณด๋‹ˆ ์ด์ƒํ•œ ์ ์„ ์ฐพ์•˜๋‹ค.

 

 

'@/_components/auth/signup/SignupForm'
๋กœ์ปฌ ํŒŒ์ผ์—๋Š” ํ•ด๋‹น ๊ฒฝ๋กœ์— ๋Œ€๋ฌธ์ž๋กœ ์‹œ์ž‘ํ•˜๋Š” SignupForm.tsx ํŒŒ์ผ์ด ์žˆ๋Š”๋ฐ, git repo์—๋Š” signupForm.tsx๋กœ ๋˜์–ด์žˆ์—ˆ๋‹ค.

 

์ž‘์—…ํ•˜๋ฉด์„œ ํด๋”๋‚˜ ํŒŒ์ผ๋ช…์„ ๋Œ€์†Œ๋ฌธ์ž๋ฅผ ์ˆ˜์ •ํ•œ ๊ฒƒ๋“ค์ด ์žˆ์—ˆ๋Š”๋ฐ ์ด ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ํ•˜๋‚˜๋„ ์ ์šฉ๋˜์ง€ ์•Š์•˜๋‹ค.

๊ทธ๋ž˜์„œ ๋‹ค์‹œ ํ‘ธ์‹œํ–ˆ๋Š”๋ฐ๋„ ์—ฅ? ์ ์šฉ์ด ์•ˆ๋œ๋‹ค.

 

https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git/55541435#55541435

 

How do I commit case-sensitive only filename changes in Git?

I have changed a few files name by de-capitalize the first letter, as in Name.jpg to name.jpg. Git does not recognize this changes and I had to delete the files and upload them again. Is there a way

stackoverflow.com

 

git cache์€ ๋Œ€์†Œ๋ฌธ์ž๋ฅผ ํŠธ๋ž˜ํ‚นํ•˜์ง€ ์•Š์•„์„œ ์ƒ๊ธด ๋ฌธ์ œ์—ฌ์„œ ์ปค๋ฐ‹ํ•ด๋„ ์ ์šฉ์ด ๋˜์ง€ ์•Š๋˜ ๊ฑฐ์˜€๋‹ค.

'issue' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

ํšŒ์›๊ฐ€์ž…์‹œ ์ด๋ฉ”์ผ ์ธ์ฆ ๋ณด์•ˆ ์ด์Šˆ (api endpoint ๊ด€๋ จ)  (2) 2024.10.16
Git Error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400  (1) 2024.10.02
Date.toISOString() ๋กœ ์ธํ•œ -9์‹œ๊ฐ„ ๋˜๋Œ๋ฆฌ๊ธฐ (@date-fns)  (0) 2024.08.29
์†Œ์…œ ๋กœ๊ทธ์ธ ๊ด€๋ จ ์—๋Ÿฌ (OAuth flow error)  (0) 2024.07.26
์ธ์ฆ ์ƒํƒœ์— ๋”ฐ๋ฅธ ํŽ˜์ด์ง€ ์ ‘๊ทผ ์ œํ•œ (Next.js, supabase)  (0) 2024.07.26
'issue' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€
  • Git Error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
  • Date.toISOString() ๋กœ ์ธํ•œ -9์‹œ๊ฐ„ ๋˜๋Œ๋ฆฌ๊ธฐ (@date-fns)
  • ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ด€๋ จ ์—๋Ÿฌ (OAuth flow error)
  • ์ธ์ฆ ์ƒํƒœ์— ๋”ฐ๋ฅธ ํŽ˜์ด์ง€ ์ ‘๊ทผ ์ œํ•œ (Next.js, supabase)
nuew
nuew
๐Ÿคธ ์žฌ์ฃผ ๋„˜๋Š” ์ค‘
  • nuew
    bloggg. . .๐Ÿฆ–๐Ÿ’ฅ
    nuew
  • ์ „์ฒด
    ์˜ค๋Š˜
    ์–ด์ œ
    • ๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ (88)
      • issue (10)
      • baekjoon (41)
      • lecture recap (11)
      • What I Learn (26)
      • retrospective (0)
      • maeil-mail (0)
  • ๋ธ”๋กœ๊ทธ ๋ฉ”๋‰ด

    • ํ™ˆ
    • ํƒœ๊ทธ
    • ๋ฐฉ๋ช…๋ก
  • ๋งํฌ

  • ๊ณต์ง€์‚ฌํ•ญ

  • ์ธ๊ธฐ ๊ธ€

  • ํƒœ๊ทธ

    js
    TailwindCSS
    css
    ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ
    TypeScript
    modal
    issue
    JavaScript
    ํ•œ์ž…ํฌ๊ธฐ๋กœ์ž˜๋ผ๋จน๋Š”ํƒ€์ž…์Šคํฌ๋ฆฝํŠธ
    zustand
    what i learn
    ๋ฐฑ์ค€
    ์•Œ๊ณ ๋ฆฌ์ฆ˜
    Study
    media-query
    Node.js
    Baekjoon
    ์ฝ”๋”ฉํ…Œ์ŠคํŠธ
    Algorithm
    ํ•œ์ž…ํฌ๊ธฐ๋กœ ์ž˜๋ผ๋จน๋Š” ํƒ€์ž…์Šคํฌ๋ฆฝํŠธ
  • ์ตœ๊ทผ ๋Œ“๊ธ€

  • ์ตœ๊ทผ ๊ธ€

  • hELLOยท Designed By์ •์ƒ์šฐ.v4.10.3
nuew
๋นŒ๋“œ ์ค‘ Module not found Error (Git)
์ƒ๋‹จ์œผ๋กœ

ํ‹ฐ์Šคํ† ๋ฆฌํˆด๋ฐ”