IE11, error in toposort/node_modules/index.js
See original GitHub issueUsing react: 16.4.1, typescript: 2.9.2, yup: 0.25.1.
Build of app cannot be rendered in IE11. It is caused by
throw new Error( 'Unknown node. There is an unknown node in the supplied edges.', );
on line 29 and
throw new Error( 'Found unknown node. Make sure to provided all involved nodes. Unknown node: ' + JSON.stringify(node), );
on line 53 in funciton toposort and visit in index.js.
Problem is comma in the error object. When the prettier is disabled and comma not added to object everything works fine.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Syntax Error In IE 11 for this node_moduels - Stack Overflow
This is an inherited package, and a syntax error from node_modules makes no sense? "use strict"; /* WEBPACK VAR INJECTION */(function(module) { ...
Read more >toposort - npm
Start using toposort in your project by running `npm i toposort`. There are 494 other projects in the npm registry using toposort.
Read more >can't resolve 'fs' in dotenv react - You.com | The AI Search ...
js file in my root folder where there is my .env file, I imported dotenv and I exported the module where there is...
Read more >yup | Yarn - Package Manager
Yup is a JavaScript schema builder for value parsing and validation. Define a schema, transform a value to match, validate the shape of...
Read more >Update old aurelia project - Help Requests
Use new API on `.hooks` instead Uncaught promise rejection: Error: Cyclic dependency at visit (D:\Work\TRIMS-app\node_modules\toposort\index.js:35:13) at ...
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 don’t understand why this issue was closed. Adding polyfills is not always possible. Would it be possible to look into ways of fixing this? IE11 is officially supported for 5 more years.
I also have this issue,
TypeError: Object doesn’t support property or method ‘from’
see attached screenshot
I’m using Yup with Formik but when I am using the validationSchema it’s creating this issue
If you need anything else to help you please let me know!
@jquense are we able to open this issue again?