我正在學習Angular,我的終端知識是初學者。在我安裝了Angular之後,輸入ng new my-project
。我收到了回覆ng: command not found
。我已經看到其他帖子有這個問題,我已經卸載並重新安裝npm和ng。Angular - ng:沒有找到的命令
我採取的最後一步是npm install -g @ angular/cli @ latest then ng new my-project。
然後我得到ng: command not found
。
感謝,
npm的版本?節點?你使用什麼操作系統?所有這些都與這個問題有關。請更新您的問題 –