-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sporadic recompilation ends with ERROR in : TypeError: Cannot read property 'kind' of undefined #13861
Comments
Hi, thanks for reporting this. This seems to be related to microsoft/TypeScript#29365 |
This should be solved in the next release (7.3.8) The commit that addressed this should be fad7ba9 If the problem persist after upgrading kindly open a new issue. Thanks |
OK, thanks! |
I keep having the same/similar problem with 7.3.8:
Here is the error:
|
For me it works again updating to: Angular 7.2.12 And delete node_modules and new npm i |
I just did full reinstall and the problem persists.
What's interesting is that the re-compilation is caused by seemingly unrelated events like resizing termial window in VSCode or starting production build in another terminal Not each sporadic recompilation ends with error, but sometimes it does. |
I no longer see the 'kind' error after updating but I notice that the spontaneous re-compilation still occurs -- though it results in a successful compilation. Something is still not right. |
@gozzoo, you also need to update the devkit packages. |
@alan-agius4 how shoud I do that? When I run When I try to update devkit anyways with
Isn't |
I just did It wasn't very obvious thogh and |
I am also getting this error frequently. Even by doing a folder search in vscode, recompilation fires. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Description
When running
ng serve
sometimes without explicit change in the code the project gets recompiled multiple times in a row. Sometimes this series end with an error:The process stops watching for new changes and no further reompilation is hapening. After I stop it and start it again the compilation completes with no errors and it keeps watching for changes, which trigger healthy recompilation.
The text was updated successfully, but these errors were encountered: