My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Samuel Osuna

2.2K 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.

·