Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cant find Module error in Angular when following the steps from angular.io

This is my first Angular App which I am building from angular.io documentation. I have followed the same steps as they have mentioned and I see that when I generate new components they are not getting added to app.module so I tried added them and here I am getting the following error

Cannot find module './product-alerts/product-alerts.component'.

This app is being built in stackblitz so please find the links for my project.

EditorURl: https://stackblitz.com/edit/angular-tejatest1

like image 920
Tejaswi Pandava Avatar asked Jan 23 '26 15:01

Tejaswi Pandava


1 Answers

A similar issue was seen following the exact steps and the solution was IT-Crowd-like: saving the project and reloading the page!

like image 58
Ricardo Avatar answered Jan 26 '26 12:01

Ricardo