天天看点

cannot bind to cxOutlet since it is not a known property of ng template

我在SAP Spartacus处于运行状态(即ng serve)始终处于运行状态时,进行代码热修改,经常遇到此类错误消息

cannot bind to cxOutlet since it is not a known property of ng template
cannot bind to cxOutlet since it is not a known property of ng template
cannot bind to cxOutlet since it is not a known property of ng template

退出ng serve,重新执行即可:

cannot bind to cxOutlet since it is not a known property of ng template
cannot bind to cxOutlet since it is not a known property of ng template

继续阅读