![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Angular大大坑
p_h_o_e_n_i_x
这个作者很懒,什么都没留下…
展开
-
‘ng‘ 不是内部或外部命令,也不是可运行的程序.webstrom里面运行angular项目
我无语了,我昨天还在敲代码,昨天一关机,今天打开就是’ng’ 不是内部或外部命令,也不是可运行的程序,我真的不懂?????黑人问号???? 更令我惊讶的事情发生了!!!大家看下面的导航栏,同一个webstorm,我打开另一个项目,竟然可以运行,并没有出现**‘ng’ 不是内部或外部命令,也不是可运行的程序**这个问题。 我先npm install -g @angular/cli 成功之后ng serve出现下面的问题 我开始觉得不对劲了,不可能突然出现这样的问题,然后。。 又是被自己蠢哭的一天。。。原创 2021-05-13 14:39:36 · 345 阅读 · 0 评论 -
Error: src/app/app.component.html:7:57 - error TS2345: Argument of type ‘Event‘ is not assignable to
Error: src/app/app.component.html:7:57 - error TS2345: Argument of type ‘Event’ is not assignable to parameter of type ‘KeyboardEvent’. Type ‘Event’ is missing the following properties from type ‘KeyboardEvent’: altKey, char, charCode, code, and 16 more. 7原创 2021-03-23 11:19:47 · 856 阅读 · 0 评论