-
Notifications
You must be signed in to change notification settings - Fork 24k
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
react-native init AwesomeProject SyntaxError : #11384
Comments
👍 Running into the same error. Glad I'm not the only one. |
face the same error with react native 0.39.1. seems caused by the syntax of
inside config.js. |
Yep, I'm getting this as well, for basically any run of the react-native cli for a pre-existing project. Started with 0.39. |
What was the last working version? |
I am also experiencing this issue after trying to upgrade a 0.35.0 project. 0.38.0 appears to be the last working version. 0.39.0 and 0.39.1 both fail whenever trying to run any Tried switching between multiple different versions of |
Hi, I got the same error, but before it was ok.
My react-native version:
My npm version:
|
same issue happended herer, i try proxy changes ,reinstall yarn , reinstall node.js, and nothing helps, seems like babel did`t transformed successful. |
+1 |
react-native init HelloWorld > Error :( |
I was getting the same error. I hit Cmd-D and clicked If I turn off remote debugging, the error returns. I already had the debugger window open from another project, but if you don't: |
FYI - Until this gets resolved, you can use |
me too.
** BUILD SUCCEEDED ** ... |
+1,me too |
fallback to 0.38 to resolve this. ping @grabbou |
On the same boat as @namKolo |
@Riyanpratama You can roll back to version 0.38.0 as @sunnylqm said. It works for me |
@namKolo sadly, still had the same problem here. |
@Riyanpratama sorry it should be 0.38.1. |
@namKolo created with |
@Riyanpratama Please run |
@namKolo The trick worked for me 👍 |
I just tried |
This issue seems fairly random. I ended up fixing it by effectively What is more odd is that this caused the packager to work correctly, but In my case, I have been on |
This works for me. |
in file "node_modules/react-native/Libraries/Core/InitializeCore.js" and it works |
Interestingly, I get this error on an iPhone 4s simulator running 8.1 (and as @gwmccull mentioned it goes away on remote debugging), but not on an iPhone 6 simulator running 10 |
@facebook-github-bot duplicate #11389 |
react-native init AwesomeProject
no longer works for me. It did just a few hours ago. I am working on a macbook pro and I have tried:react-native-cli
nvm
I always get the exact same error:
The text was updated successfully, but these errors were encountered: