Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In IE 11, SCRIPT5007: Unable to get property 'get' of undefined or null reference #40

Closed
macwac opened this issue Aug 23, 2019 · 7 comments · Fixed by #47
Closed

In IE 11, SCRIPT5007: Unable to get property 'get' of undefined or null reference #40

macwac opened this issue Aug 23, 2019 · 7 comments · Fixed by #47

Comments

@macwac
Copy link

macwac commented Aug 23, 2019

i've got this error in types.js on:


  var TypedArrayProto_toStringTag =
      uncurryThis(
        Object.getOwnPropertyDescriptor(TypedArrayPrototype,
                                        Symbol.toStringTag).get);
@ZhongQiangYe
Copy link

I got the same error with u

@goto-bus-stop
Copy link
Member

We have a fallback for this code that's based on Object.prototype.toString, which is used in environments where Symbol is not available. It looks like we should also check that TypedArrayPrototype[Symbol.toStringTag] is available, and if not, use the Object.prototype.toString fallback instead.

@abhishekbhan
Copy link

So whats the solution for this now?

@amramamohanreddy
Copy link

I'm also facing this issue, when I moved from Angular 4.3 to Angular 7. Did anyone solve this issue? Appreciate if he/she share the solution.

@macwac
Copy link
Author

macwac commented Oct 4, 2019

@amramamohanreddy
@abhishekbhan

Angular 8 here
In my case i must downgrade packgage assert to 1.5 version

@pmcelreavy
Copy link

I'm getting the same issue in only one of our projects. We are not using "assert" so downgrading it won't help.

Is there a solution for this?

@ljharb
Copy link
Member

ljharb commented Jan 15, 2020

toStringTags aren't robust anyways; i'd prefer to see browserify use a robust approach like https://npmjs.com/which-typed-array / https://npmjs.com/is-typed-array :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants