【发布时间】:2023-01-04 20:24:22
【问题描述】:
我目前在使用 bitbucket 管道构建和运行我的应用程序时遇到问题:
我有一个关于不可写的缓存文件夹的错误:
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.
我正在使用 bitbucket-pipelines.yml 和 dockerfile。
谢谢
【问题讨论】:
-
你在这里找到答案了吗?
标签: docker dockerfile bitbucket yarnpkg