Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

composer install failed : public/build/css missing

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

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
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

233 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you