0

I have an Angular app, and everything was fine, till this error appeared. I couldn´t open localhost to see console as well.

img from cli

Did someone have it? How to solve it?

9
  • What is the Pop? Can you share some more details like class and where the pop property being used? It is difficult to identify the problem from the given description. Commented Jan 22, 2019 at 6:28
  • You have somewhere pop in your code on object. Commented Jan 22, 2019 at 6:29
  • Can you post source code of that class? Commented Jan 22, 2019 at 6:30
  • do you mean pop() for array? Commented Jan 22, 2019 at 6:31
  • Can you clarify which part of code should I post, cause everything in Visual Studio is fine, no errors ? Commented Jan 22, 2019 at 6:32

1 Answer 1

1

From the screenshot, it seems that you're trying access pop property of an Object ({}) in files bike-new.component.ts - line 55, order-detail.component.ts line 54 and order-new.component.ts line 76.

Please check your object again, it seems that it doesn't contain any property called pop.

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

5 Comments

If you check the error in terminal, rows and column numbers are printed just next to the filename in round brackets.
thanks you again .. but I revised a screenshot (i.sstatic.net/7wzuO.png) and didnt find where the errors appeared. No info abput line number .. sorry for lack of my skills, but can you clarify please where did you find those errors? ..
In your image, first red line: Error in ~/bike-new.component.ts(55, 78).... In this, 55 is row number and 78 is column number.
HAHAHAHA!! I am coding on a laptop where a display doesnt reproduce the red color. I undestand what you are talking about now - I have an empty black space where the error should appear.. ))))))))
I have no red text on this screenshot)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.