-
-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Closed
Milestone
Description
Is this a bug report?
Yes.
Did you try recovering your dependencies?
Yes.
Environment
node -v:v8.4.0npm -v:5.8.0yarn --version(if you use Yarn):1.3.2npm ls react-scripts(if you haven’t ejected):react-scripts@2.0.0-next.b2fd8db8
Then, specify:
- Operating system: MacOS Sierra 10.12.6
- Browser and version (if relevant): Chrome 41.0.2272.89
Steps to Reproduce
1
- Added the following to
browserlistkey inpackage.json:
"production": [
"Chrome >= 41",
"last 2 Safari versions",
"last 2 FireFox versions",
"last 1 Edge versions",
"not dead",
"last 2 iOS versions",
"last 2 Android versions"
]2
yarn build- no errors, everything seems OK.
3
serve -s buildand openhttp://localhost:5000in Chrome 41.
Expected Behavior
Browser displays the app with no JavaScript errors in console.
Actual Behavior
- Getting
Uncaught SyntaxError: Unexpected token ILLEGALerror in Chrome 41. - Modern Chrome (65) has no issues.
I have referred to the StackOverflow answer and went through the minified searching for weird characters and found none. I have also "beautified" the code and found no issues with it.
Reproducible Demo
https://github.com/dmitrizzle/Analog.Cafe - you may reproduce my steps by cloning the repo. You do not need to spin up API server to witness the issue, just the repo given. Please use develop branch.