Wednesday, 25 August 2021

Angular extension - angular lange service in VSCode causing ngcc failure

 https://stackoverflow.com/questions/65688608/angular-language-service-in-vscode-does-not-work-because-it-is-not-an-angular-pr

https://stackoverflow.com/questions/54393646/angular-language-service-not-working-in-vscode

    Fix 1)

rm -rf node_modules package-lock.json
npm cache clean --force
npm install

Fix 2) (recommneded)
 "Ivy" is no longer considered experimental, and so the Enable-experimental-ivy-prompt is no longer an option. With the latest major version (12.x...) of the Angular Language Service VSCode extension, you must enable the Use legacy View Engine language service option.


Fix 3, go to extension, install another version


No comments:

Post a Comment