Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

'WeakMap' is undefined #891

Closed
Closed

Description

@im1dermike

I just tried to open up my application generated using this tool in IE10 and I get the following error in my browser console:

SCRIPT5009: 'WeakMap' is undefined
vendor.js, line 112874 character 1

It seems to trace to this thread, but the only references to "WeakMap" in this solution is in \dist\main-client.js and \dist\vendor.js so I'm unclear on how to resolve it.

Activity

  1. SteveSandersonMS commented on May 2, 2017

    @SteveSandersonMS
    Member

    If you need IE10 support, please install core-js/shim as described here: #854 (comment)

    As for making things work out of the box, we have an issue tracking IE9-11 support here: #484

  2. im1dermike commented on May 2, 2017

    @im1dermike
    Author

    @SteveSandersonMS Thanks for your replied. I installed corejs and added import 'core-js/shim'; to the top of my boot-client.ts file, but now I get a "Can't resolve 'core-js/shim'" error.

  3. SteveSandersonMS commented on May 2, 2017

    @SteveSandersonMS
    Member

    @im1dermike Then I don't know why that would happen - it should be possible to resolve core-js/shim. I'm afraid you'll have to track that down yourself :(

  4. im1dermike commented on May 2, 2017

    @im1dermike
    Author

    @SteveSandersonMS Should I be running:

    npm install --save corejs
    

    as described in Issue 854 or

    npm install --save core-js
    
  5. SteveSandersonMS commented on May 2, 2017

    @SteveSandersonMS
    Member

    Ah yes, that's it - it's core-js and not corejs. I've updated the comment in #854 to match. Well spotted!

  6. im1dermike commented on May 2, 2017

    @im1dermike
    Author

    @SteveSandersonMS Oof. Now I'm getting the following error in IE:

    SCRIPT5022: Error: DI Error
    vendor.js, line 104835 character 13

    Works fine in other browsers. Anything you can do to point me in the right direction?

  7. idenev commented on May 5, 2017

    @idenev

    I can confirm the issue with IE. Following the shim installation, DI error is in place. Looking forward for possible solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions