摘要:
【出现的问题】Port 4200 is already in use. Use '--port' to specify a different port. 【解决方法】针对 Windows,通过关闭正在占用 4200 端口的 Anjular 程序,来释放 4200 端口 第一步,在 Terminal 阅读全文
摘要:
【出现的问题】 TS2339: property 'of' does not exist on type 'typeof Observable' 【解决方法】(如下代码粉色标记) 首先 import { of } from 'rxjs'; - 见下方【参考】(1) 和 import {delay} 阅读全文
摘要:
【出现的问题】ng: Can't bind to 'ngModel' since it isn't a known property of 'input'. 【解决方法】导入 FormsModule 到 app.module.ts (如下代码粉色标记) 【参考】 https://stackoverf 阅读全文
摘要:
【出现的问题】TS2339: Property 'debounceTime' does not exist on type 'Observable<any>'. 【解决方法】 第一步,在 Terminal 更新 Angular 第二步,fix the rxjs 第三步,修改代码,不再使用deboun 阅读全文
摘要:
【出现问题的语句】 【解决方法】 Disable的方法: open tslint.json find the "no-inferrable-types" attribute add ignore-properties to its array 【参考】 https://stackoverflow.c 阅读全文