错误:EPERM:Bitbucket管道中不允许进行操作

问题描述 投票:0回答:1

在构建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" 

'''
angular angular-cli bitbucket-pipelines ng-build angular-cli-v8
1个回答
0
投票

更改yaml文件以给予root用户评估像这样的东西。

image:
  name: imageName
  run-as-user: 0
© www.soinside.com 2019 - 2024. All rights reserved.