문제해결(Trouble shootings)

yarn Integrity check failed for "[mypackage]" (computed integrity doesn't match our records, got "sha512-== sha1-")

코딩하는고릴라 2023. 2. 14. 20:06
반응형

yarn  업데이트 이후 위와 같은 에러가 발생했다.

 

현재 상황은

내부 repository 저장소 nexus에있는 [mypackage] 모듈을 yarn을 통해 패키지를 설치하는 상황

 

 

 

 

결론....

 

[mypackage]를 동일버전으로 publish 했기 때문에

yarn.lock파일에 있는 버전과 맞지 않아 생긴문제.

 

yarn.lock을 제거 후 다시 설치하여 해결!

반응형