在构建ng时,我在Bitbucket中收到此错误。我正在使用Firebase作为后端。我在做什么错?
EPERM:不允许操作,lchown'/opt/atlassian/pipelines/agent/build/node_modules/.cache/angular-build-dl/tmp'错误:EPERM:不允许操作,lchown'/ opt / atlassian / pipelines /agent/build/node_modules/.cache/angular-build-dl/tmp'
this is my Build Error in Bitbucket Image这是我的管道
'''
- npm i @types/jquery
- ng build
- npm install -g firebase-tools
- firebase deploy --only hosting --token=$FIREBASE_TOKEN --project <projrct name> --non-interactive -m "deploying the development version"
'''
更改yaml文件以给予root用户评估像这样的东西。
image:
name: imageName
run-as-user: 0