facebook

Cannot Create ANGULAR PROJECT in MAC

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #661641 Reply

    timphan1603
    Participant

    I have tried to create an Angular project ( FILE -> NEW -> ANGULAR PROJECT) but it shows an error.
    It also have them same project when I tried to import another project and run it.
    I’m using MAC (macOs Catalina 8GB I5)

    `> Executing task in folder /Users/phuphan/Desktop/angular/te
    stingCreate: npm install @angular/cli@8.3.25 <

    /Users/phuphan/.bashrc: fork: Resource temporarily unavailab
    le
    /Users/phuphan/.bashrc: fork: Resource temporarily unavailab
    le
    /Users/phuphan/.bashrc: line 15: /nvm.sh: No such file or di
    rectory
    /var/folders/sr/p34tprmx63zgvlk5b6302f3h0000gp/T/temp1378504
    4241678010959.rc: fork: Resource temporarily unavailable
    /Users/phuphan/.codemix-store/npm/6.4.1/bin/npm: fork: Resou
    rce temporarily unavailable
    /usr/local/bin/brew: fork: Resource temporarily unavailable
    /usr/local/bin/brew: fork: Resource temporarily unavailable
    /usr/local/bin/brew: fork: Resource temporarily unavailable
    /usr/local/bin/brew: fork: Resource temporarily unavailable
    /bin/bash: /usr/local/Library/Homebrew/brew.sh: No such file
    or directory
    /Users/phuphan/.bashrc: line 15: Node.js: No such file or di
    rectory
    /Users/phuphan/.codemix-store/npm/6.4.1/bin/npm: fork: Resou
    rce temporarily unavailable
    internal/modules/cjs/loader.js:583
    throw err;
    ^

    Error: Cannot find module ‘/Users/phuphan/Desktop/angular/bi
    n/npm-cli.js’
    at Function.Module._resolveFilename (internal/modules/cj
    s/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js
    :507:25)
    at Function.Module.runMain (internal/mod

    #661653 Reply

    support-swapna
    Moderator

    Hi,

    Sorry that you are seeing this issue. This looks like a problem with the resource limits.
    Can you please check if increasing the process limit as suggested in these threads help? :
    https://apple.stackexchange.com/questions/373035/fix-fork-resource-temporarily-unavailable-on-os-x-macos
    https://gist.github.com/lucasdavila/f382f5f5eb4fc4e83cf5

    If you are still seeing issues, then please check the Activity Monitor and let us know which processes are running. Also share with us the exact version of MAC Catalina you are working with.

    Apologies for inconvenience caused.

    –Swapna
    Genuitec Support

    #661673 Reply

    timphan1603
    Participant

    Hi ,
    I have tried the above solution but it is still not working.

    My current version is MAC Catalina 10.15.5.

    #661692 Reply

    support-swapna
    Moderator

    Hi,

    Sorry that the suggestion did not help.
    Can you please check if changing DefaultTasksMax and UserTasksMax as suggested in this thread helps (same can be applied to MAC system as well)? : https://stackoverflow.com/questions/34452302/how-to-increase-maximum-number-of-jvm-threads-linux-64bit/43157379#43157379

    Did you also check the Activity Monitor to see which processes are running?

    –Swapna
    Genuitec Support

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Cannot Create ANGULAR PROJECT in MAC

You must be logged in to post in the forum log in