我正在学习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的版本?节点?你使用什么操作系统?所有这些都与这个问题有关。请更新您的问题 –