-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting "Unexpected token {" after updating to 0.57.3 #21777
Comments
Upon further investigation, this was the issue I encountered: One of the workarounds worked out. |
Hey, I'm getting the same error as you were, which of the workarounds did you do that worked? Not sure what is causing this and it's not easy to debug. |
I'm seeing this same error on the latest React-native React Native Environment Info: |
Environment
React Native Environment Info:
System:
OS: macOS 10.14.1
CPU: x64 Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz
Memory: 50.90 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.12.0 - ~/.nvm/versions/node/v8.12.0/bin/node
npm: 6.4.1 - ~/.nvm/versions/node/v8.12.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
IDEs:
Android Studio: 3.1 AI-173.4907809
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: ^16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728
react-native: ^0.57.3 => 0.57.3
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Description
After updating my project to RN v0.57.3 I'm getting this error. Metro bundler does not indicate that anything is wrong. The exact same codebase worked fine just before the update.
Reproducible Demo
Update app to RN v0.57.3? I'm not 100% sure.
There is at least one more person who had this issue:
#21558
@pdaivik
The text was updated successfully, but these errors were encountered: