Yarn install frequently fails with ENOENT

Hi! My builds fail quite frequently because of an allegedly missing package when running yarn install. The package causing the error seems to change, so I don't think it's because of a specific package. This happens during the install phase, so before it reaches any of my code. Thanks! Error message:
#12 1.930 error An unexpected error occurred: "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.2.tgz: ENOENT: no such file or directory, open '/usr/local/share/.cache/yarn/v6/npm-es-abstract-1.20.2-8495a07bc56d342a3b8ea3ab01bd986700c2ccb3-integrity/node_modules/es-abstract/.yarn-tarball.tgz'".
#12 1.930 error An unexpected error occurred: "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.2.tgz: ENOENT: no such file or directory, open '/usr/local/share/.cache/yarn/v6/npm-es-abstract-1.20.2-8495a07bc56d342a3b8ea3ab01bd986700c2ccb3-integrity/node_modules/es-abstract/.yarn-tarball.tgz'".
Project ID: 07fcde41-284c-48e1-83d0-a92b28b116fc Config: ╔════ Nixpacks v0.10.2 ════════╗ ║ setup │ nodejs-16_x, yarn-1_x ║ ║────────────────║ ║ install │ yarn install --frozen-lockfile ║ ║────────────────║ ║ build │ yarn build:api ║ ║──────────────║ ║ start │ yarn run-build:api ║ ╚══════════════════════╝
2 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
lukasgjetting
lukasgjettingOP3y ago
Will do and report back if it happens again - thanks 👍
Want results from more Discord servers?
Add your server