简体   繁体   English

无法启动角度项目

[英]Cant start angular project

I was having some problems with an angular project so i reinstalled nodejs and angular cli however now when i try to run ng serve i get this error: enter image description here我在使用 angular 项目时遇到了一些问题,所以我重新安装了 nodejs 和 angular cli 但是现在当我尝试运行ng serve此错误:在此处输入图像描述

now ive done the typical google searching for this problem and it led me to stackoverflow with making sure the nodejs is in the enviroment variables path and it was already there: enter image description here现在我完成了典型的谷歌搜索这个问题,它让我确保 nodejs 在环境变量路径中并且它已经在那里:在此处输入图像描述

also i checked the path to verify it and here is the folder: enter image description here我还检查了路径以验证它,这是文件夹:在此处输入图像描述

i tried to be as thorough as possible before coming here to ask this question.在来这里问这个问题之前,我试图尽可能彻底。 i dont know how to fix this when the path is correct.当路径正确时,我不知道如何解决此问题。 please help!!请帮忙!!

  • Try checking your node version to see if you have node properly installed.尝试检查您的节点版本以查看您是否正确安装了节点。
  • Maybe your CMD was opened before the path was set, try opening a new CMD window and execute the same command again.可能你的 CMD 是在设置路径之前打开的,尝试打开一个新的 CMD 窗口并再次执行相同的命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM