[Error: UNKNOWN: unknown error, open 'C:\Users\User\Work\**\**\.next\static\chunks\app\layout.js'] {
errno: -4094,
code: 'UNKNOWN',
syscall: 'open',
path: 'C:\\Users\\User\\Work\\**\\**\\.next\\static\\chunks\\app\\layout.js'
1) This error generally happens when you import a file but the casing is wrong.
-> 실제로 나도 image path 실수를 고치니 해결됨
2) Quick fix : is stop your development server
Close the running instance of your project on the browser
Delete the .next folder
Restart your ide (VS code)
pray that its fixed
-> run dev 할때마다 해줘야함
3) Automate removing .next folder when project starts
"dev": "rimraf .next && next dev"
-> 아예 명령줄에 .next 지우는걸 추가하기