💡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

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

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

2024 Dohyun Jung.
Made with ☕️.