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

composer install failed : public/build/css missing

SALMI Bilal May 5, 2021

hi !

i'm very junior developer, I will try to explain as best I can

I'm trying to set up the CICD, my project is split into API / dasboard front

in my dashboard project, in my pipeline i run :

image: (php image dev 7.4)

pipelines:
branches:
main:
- step:
name: test-unit
script:
- yarn install
- composer install --no-progress --dev --ansi -nv --prefer-dist --optimize-autoloader

the composer command fail because i don't have css directory 

do i have to use the artifacts ? use the compose cache ? or anything ? thank you

pip.JPG

1 answer

1 accepted

0 votes
Answer accepted
SALMI Bilal May 14, 2021

EDIT :

fixed with :

- composer install --ignore-platform-reqs --no-scripts

instead of

 - composer install --no-progress --dev --ansi -nv --prefer-dist --optimize-autoloader

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events