Programing Language

no such file or directory, 오류

orange_mj 2024. 2. 27. 01:48

no such file or directory, open 'E:\projects\myCore\myCore\.next\BUILD_ID 

오류 해결 

 

next project 를 start 했을 때

npm run start

예를 들어 이런 식으로 오류가 난다. (다른 곳에서 캡쳐)

 

 

 

1. update node and next latest version.
2. npm uninstall next
3. npm install next
4. npm run build
5. npm run start

이렇게 버전 업데이트 하고, 다시 next 설치 후 빌드 해주면 해결된다!

 

 

참고 : https://github.com/vercel/next.js/discussions/57066