paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 387 forks source link

IE9 - Error: (SystemJS) No provider for PlatformRef! #430

Closed Davy-F closed 7 years ago

Davy-F commented 7 years ago

Browser: Internet Explorer 9 Angular: v2.2.0

When adding the es6-shim script into my app I get the following error:

Error: (SystemJS) No provider for PlatformRef!

It works correctly on all other browsers and the app works fine on IE9 if I remove the reference to the shim.

Any help would be appreciated.

Davy-F commented 7 years ago

Edit: Seems adding es5-shim and putting these before all other scripts helps.

Carry on, nothing to see here...