You seem to not be depending on “@angular/core” and/or “rxjs”. This is an error

For those who are still looking for the answer, first check your folder node_module/@angular and some of important folders

If these folders are not there, run command npm install and then run command npm serve, it should solve your problem. I ran into same problem because of migrations from Angular 4 to Angular 6 and that’s how I fixed it.

Some other suggests the command npm link run after npm install but I don’t think it would need it.

Leave a Comment