# Issue with IDX Project Deployment from GitHub

**URL:** <https://community.firebasestudio.dev/t/issue-with-idx-project-deployment-from-github/35>\
**Category:** Project Templates\
**Created:** [May 8, 2024, 9:25am UTC](https://community.firebasestudio.dev/t/issue-with-idx-project-deployment-from-github/35 "2024-05-08T09:25:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheDollMaster](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/thedollmaster/32/21_2.png) [@TheDollMaster](https://community.firebasestudio.dev/u/TheDollMaster)\
**Post date:** [May 8, 2024, 9:25am UTC](https://community.firebasestudio.dev/t/issue-with-idx-project-deployment-from-github/35/1 "2024-05-08T09:25:20Z")

</div>

Hello Everyone,

I am experiencing issues while trying to deploy my IDX project from GitHub. The project is configured using a `dev.nix` file, but it seems to be failing during the build process.

The error message I receive is: `Error: sh: line 1: ng: command not found`. It appears that the Angular CLI command `ng` is not being recognized in the environment.

Here is the relevant section from my `dev.nix` file:

```nix
{ pkgs, ... }: {
  channel = "stable-23.11";
  packages = [
    pkgs.nodejs_20
    pkgs.nodePackages.firebase-tools
  ];
  idx = {
    extensions = [
      "angular.ng-template"
    ];
    workspace = {
      onCreate = {
        npm-install = "npm install --no-audit --prefer-offline";
      };
    };
    previews = {
      enable = true;
      previews = {
        web = {
          command = ["npm" "run" "start" "--" "--port" "$PORT" "--host" "0.0.0.0" "--disable-host-check"];
          manager = "web";
        };
      };
    };
  };
}

```

I have tried adding `@angular/cli` to my packages in the `dev.nix` file, but I am still encountering the same issue. I have also tried clearing the npm cache and removing the `node_modules` folder and `package-lock.json` file, but to no avail.

Thank you in advance for your help.

Angular versione: 14.3.0

---

<div class="post-metadata">

**Author:** ![romannurik](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/romannurik/32/4841_2.png) [@romannurik](https://community.firebasestudio.dev/u/romannurik)\
**Post date:** [May 8, 2024, 6:10pm UTC](https://community.firebasestudio.dev/t/issue-with-idx-project-deployment-from-github/35/2 "2024-05-08T18:10:52Z")

</div>

Hey there!

First a question: when you say “deploy my IDX project from GitHub” can you be more specific about where you’re seeing the “command not found” message? Is it in IDX? And what steps do you take to show that message?

Second, can you see if you have `@angular/cli` listed as a dependency or dev dependency in your `package.json` (not `dev.nix`)?
