IE11 syntax error with v3.3.1
Created by: afrankel-sfdo
Describe the bug
- Development mode throws a syntax error in IE11 on v3.3.1
SCRIPT438: Object doesn't support property or method 'entries'
Did you try recovering your dependencies?
Yes.
›» yarn --version
1.21.1
Environment
›» npx create-react-app --info
Environment Info:
System:
OS: macOS Mojave 10.14.6
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Binaries:
Node: 10.16.3 - /usr/local/bin/node
Yarn: 1.21.1 - ~/Code/makana-platform/nani/node_modules/.bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Browsers:
Chrome: 79.0.3945.130
Firefox: Not Found
Safari: 13.0.5
npmPackages:
react: ^16.12.0 => 16.12.0 (16.8.6, 0.14.9)
react-dom: ^16.9 => 16.12.0 (16.8.6)
react-scripts: 3.3.1 => 3.3.1
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
- Upgraded to CRA v3.3.1
- Startup app in dev mode (
yarn start
) - Open site in IE11
Expected behavior
- IE11 should work
Chrome - WORKS
Actual behavior
- IE11 throws
SCRIPT438: Object doesn't support property or method 'entries'
inansi-styles
- Posted an issue to that repo, was denied: https://github.com/chalk/ansi-styles/issues/57
IE11 - BROKEN
Reproducible demo
- https://github.com/afrankel-sfdo/cra-3.3.1
- clone
- yarn && yarn start
- View site in IE11
›» yarn browserslist --env="development"
chrome 79
firefox 72
ie 11
safari 13