IE11: Symbol is undefined
See original GitHub issueHi, great tool! I get this error when running flow-runtime on IE11:
'Symbol' is undefined
ReferenceError: 'Symbol' is undefined
at Anonymous function (eval code:40:3)
at Anonymous function (eval code:34:1)
at Anonymous function (eval code:1:31)
at eval code (eval code:1:2)
Evaluating flow-runtime@0.0.6/lib/types/Type.js
Evaluating flow-runtime@0.0.6/lib/types/AnyType.js
Evaluating flow-runtime@0.0.6/lib/types/index.js
Evaluating flow-runtime@0.0.6/lib/registerPrimitiveTypes.js
Evaluating flow-runtime@0.0.6/lib/globalContext.js
Evaluating flow-runtime@0.0.6/flow-runtime.js
Evaluating flow-runtime@0.0.6.js
Evaluating main.js
Error loading main.js
Perhaps adding babel-polyfill
as a dependency would fix it?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
'Symbol' is undefined in IE after using babel - Stack Overflow
This seems to be the only way to get ie11 to work with the current way in which Babel and Webpack are working...
Read more >'Symbol' is undefined problem in ie11 · Issue #7597 - GitHub
I had to import Symbol and Array.from polyfills into my app to get around this, but those are causing their own IE11 issues...
Read more >Symbol undefined IE11 - JavaScript - SitePoint Forums
I have es6-symbol node module installed and I tried doing this (the unrecommended version but this is the code to make the polyfill...
Read more >babel/polyfill
Babel includes a polyfill that includes a custom regenerator runtime and core-js. This will emulate a full ES2015+ environment (no < Stage 4...
Read more >Next.js apps don't work on volume license Word add in/IE11
IE11 is built-in, and when I run my Next.js app on it, it gets the following error. ... Symbol(ASSET_LOAD_ERROR)_15.k4lzz4di55: undefined, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not sure. It’s still throwing an error, but I think it’s because of the use of another unsupported API (generators). I think there’s a larger need for a polyfilled, browser-friendly version of this plugin.
Fixed import ordering and added rollup and browser / commonjs / es2015 builds in v0.2.0