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.

Microsoft Edge 16-18 missing "flat" polyfill

See original GitHub issue

Bug report

Describe the bug

When loading out Next site with Edge 18, there is a critical TypeError stating Object doesn't support property or method 'flat'

To Reproduce

  1. Go to https://epdev123.org/wiki/lang_en/magnus-dunn in Edge 18
  2. Notice the full-screen critical error

Expected behavior

This page should load properly like all other browsers were able to

Screenshots

image

System information

  • OS: Windows
  • Browser: Edge 18, Edge 17, Edge 16 (see Sentry Issue for browser breakdown)
  • Version of Next.js: 9.3.1

Additional context

This issue may relate to the recent changes in Next’s polyfilling partially described in https://github.com/zeit/next.js/issues/7993

  • I looked into adding this flat polyfill manually, but it’s already included in next-polyfill-nomodule as import 'core-js/features/array/flat'

  • We have zero polyfilling in our application currently, we’re fully relying on Next’s included polyfills. We have not changed the included version of core-js

  • This is a private project, we can email a zip to anyone at Zeit, just let me know if this looks like a valid bug to you all

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

13reactions
alexanbjcommented, Mar 20, 2020

I’ve seen the same for our site. The problem is that Edge 16-18 doesn’t support flat(Map), but has support for nomodule, meaning that the polyfills won’t be downloaded.

6reactions
Timercommented, Sep 15, 2020

This is fixed in the latest Next.js canary version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

About Microsoft edge not starting missing file, C:/Program
NO idea why that started blocking MS edge from launching all the sudden but it did. Perhaps it was the cause for the...
Read more >
Untitled
Ct24lr02, Exporters, Spin tires 2012 full download, Licenze microsoft open ... mart pharmacy blair ne, List brokers south africa, Monsta x gone bad...
Read more >
material-ui/core/CHANGELOG.md - UNPKG
1618, Big thanks to the 18 contributors who made this release possible. 1619. 1620, ### `@material-ui/core@v4.7.2`. 1621. 1622, - [Tooltip] Add missing ......
Read more >
Diff - a35c6f05d7923eb990a5c08798b8d83aa43418a3^!
Check all that apply --> +- [ ] Chrome +- [ ] Firefox +- [ ] Edge +- ... polyfill ([commit](https://github.com/Polymer/polymer/commit/ce0ca630)) + +- ......
Read more >
Untitled
Akaso drone weight, Lie flat seats on delta, Permskij motorny zavod, Posh boutique nj fashion show, Domestic battery charger, Mercedes 450 slc 5.0...
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