Meteor - IE11 displays a blank page

809 views Asked by At

I get this error under IE11:

object doesn't support this property or method "for" on line:

var esSymKey = useSymbol ? Symbol.for(esStrKey) : null; 

from node_modules/meteor/modules/node_modules/reify/lib/runtime/utils.js
in modules.js.

I tried to update everything but with no luck

My packages list is as follow:

meteor-base

mobile-experience
mongo
blaze-html-templates 
session     
[email protected]  
tracker
es5-shim

coffeescript
msavin:mongol
tap:i18n
tap:i18n-db-modified
globalconstants
reywood:publish-composite
fourseven:scss
reactive-var
mystor:device-detection
subs-manager-modified
fastclick
check
manuelschoebel:ms-seo-modified
mrt:modernizr-meteor
gorillastack:iron-router-gtm
iron:router
standard-minifier-css
standard-minifier-js
add-scripts
tap:i18n-bundler
shell-server
dynamic-import
webapp

chrome-spiderable

Do you have any idea?

Thanks.

1

There are 1 answers

2
posit labs On

IE 11 doesn't support Symbol

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol

You will need to add a polyfill to add support for it.

https://github.com/medikoo/es6-symbol

If you're using other es6+ features, you will probably run into another error immediately after polyfilling Symbol. You should probably use some kind of transpiler, like Babel. It will ensure your new code works on old browsers.