2017-10-19 4 views
2

내가 IE11에서이 오류가 표시유성 IE11은 빈 페이지

객체 "를"이 속성 또는 메서드를 지원하지 않습니다 라인 :

node_modules/유성/모듈의
var esSymKey = useSymbol ? Symbol.for(esStrKey) : null; 

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

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 

당신이 어떤 생각을 가지고 있습니까 :

나는

내 패키지 목록은 다음과 같다 행운과를 제외한 모든 업데이트하려고?

감사합니다.

+0

어떻게 해결합니까? – cesarve

+2

head.html에 을 추가했습니다. 내가 생각하는 최선의 해결책은 아니지만 다른 해결책은 효과가 없었습니다. –

+0

정말 고마워요! 그것은 나를 위해 작동 – cesarve

답변

2

IE 11은 Symbol

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

당신은에 대한 지원을 추가하는 polyfill을 추가해야합니다 지원하지 않습니다. 다른 ES6 + 기능을 사용하는 경우

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

, 당신은 아마 즉시 Symbol을 polyfilling 후 다른 오류로 실행됩니다. Babel과 같은 일종의 transpiler를 사용해야합니다. 새 코드가 이전 브라우저에서 작동하는지 확인합니다.

+0

이것은 확실히 문제입니다. 나는 babel-polyfill을 설치하고 main.js의 맨 위에 require ('babel-polyfill')를하고 있지만 같은 문제가 발생합니다. 이 특정 오류는 Meteor Reify 코어에 있습니다. node_modules/meteor/modules/node_modules/reify/lib/runtime/utils.js \t이 문제가 발생하기 전에 polyfill을로드 할 수 없습니다. – Turbo

+0

업데이트 : 헤더에서