Could not find an ngmodule. use the skip-import option to skip importing in ngmodule.
Answers
Answered by
3
This error is found when CLI is used to create a new component.this problem can be quickly fixed.
So here is the way.
Change the current directory in cmd/terminal to src/app.
Then run the commands that have been used to import the program for linux based OS.
Another way to fix this is by deleting the node_modules and clearing the yarn cache and reinstall package.
Similar questions