---
title: "Comment by Max on \"NestJS Angular Universal in an Nx Workspace\" | Hashnode"
description: "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: bu"
url: "https://hashnode.com/posts/nestjs-angular-universal-in-an-nx-workspace/6030bc20f51caf4448561a39/comment/6139b4ae2c9ec22314f4af6f"
---

[Discussion](https://hashnode.com/posts/nestjs-angular-universal-in-an-nx-workspace/6030bc20f51caf4448561a39)

Comment [NestJS Angular Universal in an Nx Workspace](https://hashnode.com/posts/nestjs-angular-universal-in-an-nx-workspace/6030bc20f51caf4448561a39)

[Max](https://hashnode.com/@maxmyers)

[Sep 9, 2021](https://hashnode.com/posts/nestjs-angular-universal-in-an-nx-workspace/6030bc20f51caf4448561a39/comment/6139b4ae2c9ec22314f4af6f)

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](https://cdn.hashnode.com/res/hashnode/image/upload/v1631171841270/8DBBFng8b.png)

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

Thank you

[Damien S](https://hashnode.com/@damiens)

[Oct 25, 2021](https://hashnode.com/posts/nestjs-angular-universal-in-an-nx-workspace/6030bc20f51caf4448561a39/comment/6139b4ae2c9ec22314f4af6f#reply-617708860f452c1cd94fd4ce)

Hi Max,

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