question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IE11: Symbol is undefined

See original GitHub issue

Hi, 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:closed
  • Created 7 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
doctypercommented, Jan 17, 2017

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.

0reactions
phpnodecommented, Jan 18, 2017

Fixed import ordering and added rollup and browser / commonjs / es2015 builds in v0.2.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found