Error: EPERM: operation not permitted in Bitbucket pipeline
Error: EPERM: operation not permitted in Bitbucket pipeline
在构建 ng build 时,我在 Bitbucket 中收到此错误。我使用 Firebase 作为我的后端。我做错了什么?
EPERM: operation not permitted, lchown '/opt/atlassian/pipelines/agent/build/node_modules/.cache/angular-build-dl/tmp' Error: EPERM: operation not permitted, 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
在构建 ng build 时,我在 Bitbucket 中收到此错误。我使用 Firebase 作为我的后端。我做错了什么?
EPERM: operation not permitted, lchown '/opt/atlassian/pipelines/agent/build/node_modules/.cache/angular-build-dl/tmp' Error: EPERM: operation not permitted, 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