Build fails on CI because of missing yarn package

The error message:
error An unexpected error occurred: "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.11.tgz: ENOENT: no such file or directory, utime '/home/circleci/.cache/yarn/v1/npm-handlebars-4.0.11-630a35dfe0294bc281edae6ffc5d329fc7982dcc/dist/amd/handlebars/helpers/with.js'".
The message changes from build to build. Looks like Circle CI is missing some yarn packages ?

Everything passes fine on local.

What base image are you using?

What command are you using that results in this message?

Maybe you could issue a Yarn command to refresh the cache (or empty it, in case that might prompt it to refresh it itself?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.