Sign in
Log inSign up
Samuel Osuna

2.3K reads

2 comments

Max
Max
Sep 9, 2021

Thanks for the great and simple to understand guide! I noticed when I am trying to build either projects, it gives:

$ nx run api:build 

Could not execute api:build because it has a circular dependency
api:build --> dashboard:build --> api:build

and

$ nx run dashboard:build 

Could not execute dashboard:build because it has a circular dependency
dashboard:build:production --> api:build:production --> dashboard:build:production

(Where dashboard is my frontend and api is backend)

Screen Shot 2021-09-09 at 2.17.11 pm.png

What should be the command to build and ship to production?

Thank you

·
·1 reply
Damien S
Damien S
Oct 25, 2021

Hi Max,

Did you ever get this resolved? I'm running into the same issue.

·