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, error in toposort/node_modules/index.js

See original GitHub issue

Using 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:closed
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
helariLcommented, Aug 5, 2020

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.

4reactions
ThomasLargecommented, Nov 9, 2018

I also have this issue,

TypeError: Object doesn’t support property or method ‘from’

see attached screenshot

screenshot 2018-11-09 at 09 41 07

I’m using Yup with Formik but when I am using the validationSchema it’s creating this issue

const validationSchema = Yup.object().shape({
   title: Yup.string().required('Required'),
   description: Yup.string().required('Required'),
   meta: Yup.string().required('Required'),
   push: this.state.push
	? Yup.string().required('You must add text to send out')
	 Yup.string()
});

If you need anything else to help you please let me know!

@jquense are we able to open this issue again?

Read more comments on GitHub >

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

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