1

I've recently upgrade a large Angular application from 7.2 to 8. In IE11 I'm getting an error message ERROR Error: Invalid argument. I've read a couple of post that explain what the cause might be but I have no idea how to find the source of the problem. There is no stack trace or line number. I'm guessing the error is thrown from an Angular error handler which in IE11 gives very little detail?

Does anyone have any suggestions for debugging Angular 8 in IE11?

enter image description here

Related posts:

Thanks

3
  • As we don't know anything about your project and there is no any sample for producing the issue. So it can be hard for providing any solid suggestion. Providing some random suggestions will make you more confused. For testing purpose, Try to upgrade an empty Angular 7.2 app to Angular 8 and confirm that it is working fine. You need to check your app by dividing it in to segments can make this process simple. Commented Nov 15, 2019 at 3:10
  • I'm confident that an empty Angular project will work correctly. Judging by other reports it is an issue with an element argument being set incorrectly. I presume that it a attribute value that is initially undefined. However, it is a large project and I don't know how to track it down without more information. I have started the process of disabling sections of the application. But this is hindered by another bug when using serve github.com/angular/angular-cli/issues/14777 meaning I have to publish each time I disable a section (about a seven min build!). I really need a stack trace Commented Nov 15, 2019 at 10:49
  • You have to go through your whole code to check which attribute value is undefined. there is no any other way to get the information about the cause for this error. Commented Nov 18, 2019 at 7:49

0

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.