[英]Meteor - IE11 displays a blank page
我在 IE11 下收到此錯誤:
對象不支持此屬性或方法“for”在線:
var esSymKey = useSymbol ? Symbol.for(esStrKey) : null;
來自 node_modules/meteor/modules/node_modules/reify/lib/runtime/utils.js
在 modules.js 中。
我試圖更新一切,但沒有運氣
我的包裹清單如下:
meteor-base
mobile-experience
mongo
blaze-html-templates
session
jquery@1.11.10
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
你有什么主意嗎?
謝謝。
IE 11 不支持Symbol
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol
您需要添加一個 polyfill 來添加對它的支持。
https://github.com/medikoo/es6-symbol
如果您正在使用其他 es6+ 功能,您可能會在 polyfilling Symbol
后立即遇到另一個錯誤。 您可能應該使用某種轉譯器,例如Babel 。 它將確保您的新代碼在舊瀏覽器上運行。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.