Property 'ɵunwrapWritableSignal' does not exist on type
Asked Answered
H

8

82

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.

Huffman answered 13/2 at 7:35 Comment(2)
This is extension - Angular Language Service providing error so either you can uninstall or downgrade the extension versionObstruction
seems fixed in 17.2.2 it seems (reload required)Hieratic
C
60

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

Cysteine answered 13/2 at 14:29 Comment(11)
On my side it was just showing the vscode plugin need a restart. After the restart the error disappeared. In fact they just rolled back the 17.2.0 and created a fixed version 17.2.1.Salomie
Thanks for your comment, I will check the new versionTetragon
Downgrading to 17.1.1 and then a reload of VSCode worked for me. Lets wait for the bug to be resolvedInveteracy
@HassanRaza I tried 17.2.2 and it worksTetragon
I still encounter the issue with 17.2.2Pareira
@Pareira Try version 17.1.1Tetragon
FYI, I am also seeing this in 17.2.2. Version 17.2.1 works, so it looks like they broke it again with the latest release.Daphne
@Daphne Well, curiously, version 17.2.2 works for meTetragon
17.2.2 still broken here. Using 17.1.1 for now.Uxmal
17.2.2 still broken as of 2/28/24Meddlesome
Version 17.2.2 still broken, upgrade up to 17.2.1... At least at 2024-03-05Lowbrow
M
59

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

Mincing answered 13/2 at 8:5 Comment(1)
An issue is open on their github: github.com/angular/vscode-ng-language-service/issues/2001Spume
F
12

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

Finny answered 13/2 at 8:2 Comment(0)
T
7

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.

Tribasic answered 13/2 at 22:34 Comment(0)
T
4

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.

Tepefy answered 14/2 at 9:0 Comment(0)
D
3

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

Deck answered 14/2 at 19:1 Comment(0)
R
0

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

Religieux answered 21/3 at 15:41 Comment(2)
v17.3.1 is erroring out for me v17.1.1 took out the error.Sundown
I'm on v 17.3.2 but the error is still there.Sizzler
C
0

the issue was with the build config in the angular.json.

  "aot": false,
  "buildOptimizer": false,
  "extractLicenses": false,
  "namedChunks": true,
  "optimization": false,
  "outputHashing": "none",
  "sourceMap": true,
  "vendorChunk": true

mess with these attributes, error goes away.

Catalyze answered 16/5 at 18:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.