💡Aha!

Yarn ‘The lockfile would have been modified by this install, which is explicitly forbidden.’ 경고 무시하기

개발 환경에서는 안나는데 CI에서만 발생한다.

2024-02-03T14:50:04.523821Z ➤ YN0000: │
2024-02-03T14:50:04.523982Z ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.
2024-02-03T14:50:04.524113Z ➤ YN0000: └ Completed

다행히, 무시하는 방법을 찾을 수 있었다.

getting YN0028 The lockfile would have been modified by this install, which is explicitly forbidden. using yarn berry and heroku
I'm using yarn berry and heroku and consistently getting the error: ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden. Which suggests that my
getting YN0028 The lockfile would have been modified by this install, which is explicitly forbidden. using yarn berry and heroku
https://stackoverflow.com/questions/67062308
getting YN0028 The lockfile would have been modified by this install, which is explicitly forbidden. using yarn berry and heroku

환경 변수에 YARN_ENABLE_IMMUTABLE_INSTALLSfalse 로 설정해주면 된다고 한다.

2024 Dohyun Jung.
Made with ☕️.