Zsh : command not found : ng on new Mac OS Catalina

后端 未结 4 2094
执笔经年
执笔经年 2021-02-08 07:36

I have download the new Mac OS Version Beta of Catalina. Now I should start to use Zsh. But when I want to run a Angular project in Atom, I receveid this message : \"The default

4条回答
  •  情深已故
    2021-02-08 08:11

    check with node version you're on. Download here - https://github.com/nvm-sh/nvm

    For me I encountered same problem with version 8.

    nvm ls
    

    it should list node version - using version 13 of node - worked for me.

     nvm install 13
     npm install -g @angular/cli
    

    should work now.

提交回复
热议问题