Property 'ɵunwrapWritableSignal' does not exist on type

24.8k Views Asked by At

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 running but getting this error wherever I'm using at the place of [(ngModel)]. What can be the reason and how to remove this error?

I tried everything like uninstalling my vs code and installing again, cloned project again. Using angular version is 14 and Node.js version is 18

Moderator note: This appears to be a bug in the latest release of the Angular Language IDE extension. Please do not add new answers pointing solely to the bug, or telling people to downgrade.

7

There are 7 best solutions below

0
On

This just happened to me as well when I updated the angular language service extension , I fixed it by installing version 17.1.0

1
On

You can roll back to Angular Language Extension v17.1.1 until the bug is fixed.

0
On

This error occurs for Angular Language Service VS code extension update. Just reload the extension or uninstall then install again, it will fix.

Probably VS code extension tab already suggest you to reload the extension.

11
On

This is origin issus:

There was an update yesterday.

enter image description here

Steps to go back to a previous version:

  1. enter image description here

  2. enter image description here

  3. enter image description here

  4. enter image description here

Edit 15/02/2024

Apparently they have already fixed the error and there is a new version

enter image description here

Edit 05/03/2024

Some have commented that version 17.2.2 does not work, however I am working with that version, you can verify if it is not another extension that is causing the problem, I will leave an image with the extensions that I have installed with respect to angular, javascript and tscript

enter image description here enter image description here

Another thing you have to verify is that if you are importing the FormsModule module, either in the YouModule.ts file or in the Youcomponent.ts if you are using standalone

0
On

Version 17.2.1 of the extension has been published which should fix this. If you don't have an update listed, go to the extension, and click the drop down arrow next to Uninstall, then select Install Another Version. The new version should be listed at the top.

0
On

Apparently they published a new version (v17.2.1) where they roll back the version of the package that is having the issue.

17.2.1 This release rolls back the @angular/language-service version to v17.2.0-next.0 to resolve an issue reported in ticket #2001.

you find the issue here: https://github.com/angular/vscode-ng-language-service/issues/2001

what you need to do now is to update the extension to its latest version which is 17.2.1.

screenshot from the Angular Language Service extension

0
On

In version v17.2.2 of the Angular Language Extension extension the problem reappears, but the new version v17.3.1 fixes it again.