0

I am facing following issue while working on an angular component in IntelliJ.

Angular issue in IntelliJ

Why do I face it and how to solve it?

2
  • Why this downvote? Commented Jul 23, 2019 at 6:46
  • I guess because a question usually requires a minimal reproducible example, which is preferable not a screenshot. Read more about this here Commented Jul 23, 2019 at 6:56

1 Answer 1

1

You need to make sure that your component is added to an NgModule, and that this module has either CommonModule or BrowserModule imported. Either directly, or through a common module import.

Make sure to only import the BrowserModule once in your app though

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.