Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pipeline stuck at running Bower

rzky
Contributor
July 3, 2017

I got this error message about cannot run with sudo even though i didn't sudo anything. See my pipeline.yml below.

bower ESUDO         Cannot be run with sudo

bitbucket-pipelines.yml

image: node:6.9.4

pipelines:
  default:
    - step:
        caches:
          - node
        script:
          - npm install -g bower ember-cli@2.13
          - npm install && bower install
          - npm run deploy

1 answer

0 votes
wilsonmanzano
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2020

Did you find any solution? 

Andrea Salicetti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 21, 2020

Same problem here: any solution found?

wilsonmanzano
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 21, 2020

I'm not sure what was causing my error but I'm not using sudo for the pipeline

M Fahima Hanifa October 21, 2020

try add

--allow-root

like answered in https://serverfault.com/a/566925 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events