Carrot
Front-end/Angular

[VSCode] Property 'ɵunwrapWritableSignal' does not exist on type "node_modules/..."

NaDuck 2024. 2. 13. 18:59

VSCode 작업 도중 다음과 같은 에러가 계속 떴다. 

현재 프로젝트에서 앵귤러를 사용하고 있으며, [(ngModel)]로 데이터 바인딩을 하는 곳마다 해당 에러가 표시됐다.

Property 'ɵunwrapWritableSignal' does not exist on type ...

 

막상 빌드도 잘되고 실행에 문제는 없었지만 온갖 빨간줄 천지라 해결법을 찾게 됐다...

 

해결 방법

해결은 꽤나 단순했다. VSCode 익스텐션 중 하나인 Angular Language Service 버전을 자동 업그레이드하면서 발생한 에러였고, 이를 다운그레이드 해주면 된다. 

 

(24.02.13 기준) 17.2.0 버전이 설치돼있는데, 한단계 아래인 17.1.1로 다운그레이드 했다. 해결!

 

 

참고 사이트

 

Property 'ɵunwrapWritableSignal' does not exist on type

Property 'ɵunwrapWritableSignal' does not exist on type 'typeof import("/home/thrymr/Desktop/ILMCT 2/ilmct-frontend/node_modules/@angular/core/index")'. project is compiled successfully and

stackoverflow.com