79382155

Date: 2025-01-23 18:21:15
Score: 2
Natty:
Report link

In my case, I got this error on macOS but not Linux. It turned out, that a dependency installed from GitHub produced a bit different zip archive in ~/.yarn/berry/cache/. The difference was that a "packageManager" line was added to the dependency's package.json file on macOS (but not on Linux). This dependency used Classic Yarn. The behavior was inconsistent on macOS and Linux on Yarn Classic v1.22.22. Downgrading to v1.22.21 resolved the issue.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: leshik