Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Pipeline stuck at running Bower

rzky 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 January 27, 2020

Did you find any solution? 

Andrea Salicetti April 21, 2020

Same problem here: any solution found?

wilsonmanzano 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