Cache folder not writable Bitbucket Docker

Viewed 232

I have currently a problem to build and to run my app using bitbucket pipeline:

I have a error about the cache folder which is not writable:

warning Skipping preferred cache folder "/home/node/.cache/yarn" because it is not writable.
warning Skipping preferred cache folder "/tmp/.yarn-cache-1000" because it is not writable.
warning Skipping preferred cache folder "/tmp/.yarn-cache" because it is not writable.
error Yarn hasn't been able to find a cache folder it can use. Please use the explicit -- 
cache-folder option to tell it what location to use, or make one of the preferred locations 
writable.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I'm using a bitbucket-pipelines.yml and a dockerfile.

Thank you

0 Answers
Related