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.

Unhandled promise rejection Error: Access is denied and Object doesn't support property or method 'repeat' Errors on IE 11.

See original GitHub issue

Describe the bug

Unhandled promise rejection Error: Access is denied and Object doesn’t support property or method ‘repeat’ Errors on IE 11.

image

I have the recommended polyfills installed:

import 'react-app-polyfill/ie11';
import 'react-app-polyfill/stable';
import 'core-js/features/string/repeat';

Did you try recovering your dependencies?

Yes

Environment

Environment Info:

current version of create-react-app: 4.0.1 running from C:\Users\Stefan\AppData\Roaming\npm-cache_npx\13324\node_modules\create-react-app

System: OS: Windows 10 10.0.18363 CPU: (16) x64 AMD Ryzen 7 PRO 4700G with Radeon Graphics Binaries: Node: 10.13.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.5 - ~\AppData\Roaming\npm\yarn.CMD npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 87.0.4280.66 Edge: Spartan (44.18362.449.0) Internet Explorer: 11.0.18362.1 npmPackages: react: ^16.13.1 => 16.14.0 react-dom: ^16.13.1 => 16.14.0 react-scripts: 3.4.3 => 3.4.3 npmGlobalPackages: create-react-app: Not Found

Reproducible demo

This is a runnable example: https://github.com/simonssspirit/ei11-react-polyfill-issues

Steps - click the Export PDF button.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
joshkaycommented, Dec 2, 2020

Also running into this issue. @simonssspirit have you figured out any workarounds?

0reactions
stale[bot]commented, Jan 9, 2022

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix 'Unhandled promise rejection TypeError: Object ...
Unhandled promise rejection TypeError: Object doesn't support property or method 'forEach'. As we all known, IE9 and above supports Array.
Read more >
Error -- object doesn't support property or method 'endElement'
Hi ,. For one of our web applications , when accessed through IE11 we are getting below script errors: 1)object doesn't support property...
Read more >
TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >
Node.js v19.3.0 Documentation
If the function does not return a promise, assert.doesNotReject() will return a rejected Promise with an ERR_INVALID_RETURN_VALUE error. In both cases the error...
Read more >
Troubleshooting Cloud Functions - Google Cloud
In order to deploy a function, a user who has been assigned the Project Viewer, the Cloud Function Developer, or Cloud Function Admin...
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