-
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
Creating new project fails #12542
Comments
+1 |
2 similar comments
+1 |
+1 |
+1 same problem. |
+1 |
5 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
Lol, i'm just trying ReactNative now, and saw this strange error...so i've found this. Perfect timing! :) Btw, since i'm a beginner in ReactNative (just trying it now), how can i install the previous version of the cli which is not affect by this bug, using brew on mac, so that in the meanwhile i can try it ? (i've already installed the last cli, so i don't know if i first need to remove it). Someone can help me? Thanks! |
+1 |
+5 (the entire team is frustrated) |
+1 |
2 similar comments
+1 |
+1 |
@grabbou please take a look |
+1 |
This change was done on the file in question 3h ago so it should be the primary suspect: |
+1 |
2 similar comments
+1 |
+1 |
Found the bug people. Babylon (6.16.0 published an hour ago) messed something up. If you use 6.15.0 it works. So if you just add this to your
|
Thanks, will let the team know we got a problem. Follow: https://twitter.com/grabbou/status/834770049382629377 |
|
+1 |
1 similar comment
+1 |
Stop +1 noise. Thanks. |
+1 |
@hzoo I suspect it to come from PR babel/babylon#300 The changelog states
|
Awesome, need to figure out what react-native is doing |
+1 |
@kumarpatel doesn't seems to work for me any other ideas for temp fix? |
+1 |
Operating System: Windows 10 64bit |
temp fix possibly forking react-native and restraining babylon version to 6.15 in the 2 package.json's? Line 142 in 564126f
• react-native/packager/package.json Line 18 in 13edf6d
|
was there any change. it is working now for me including babylon 6.16 |
interesting, what os / node / react-native-cli versions @simonjk ? |
Yes the workaround should be to pin to babylon@6.15.0Ok I have to work, so going to revert the 2 PRs and do a patch.EDIT: Interesting how many people rely on Babel without any full time people working on it |
(sorry for OT) Well, if there's one thing to say it's interesting (and awesome) to see how many people are trying to get up and running with a tutorial and at the frequency. I just ran into this too. 👍 thanks for the quick response @hzoo |
+1 |
Yeah @dfischer, I'm really sorry this is the experience people get when starting out with react-native/javascript/open source. We make mistakes |
It's all good, I think it's cool how many people are reporting in. Good work @hzoo you rock! |
@hzoo Actually I think this is a really good experience for new people because it shows how quickly a problem can get resolved in a well supported project. |
Releasing v6.16.1 until we actually can get the time to figure this out.Ok made a new patch release that just reverts the PRs that caused the issues. If you need to you'll need to report back if it's fixed* |
cool! @hzoo |
Good for me, it's work :) Thanks @hzoo |
🎉 - Back in business!
|
Thanks @hzoo |
@simonjk @chapati23 If the haste map has been generated once with a babylon version that's working and no change requires regeneration, it keeps workng even if you upgrade babylon again. |
@chapati23 MacOS 10.11.6 react-native --version node --version had the problem first too but after a rm of the folder and a re-init it the problem was suddenly gone |
Description
I did a fresh install following the instructions on https://facebook.github.io/react-native/docs/getting-started.html#content, but it fails at the first step:
react-native init AwesomeProject
This results in this output (the packages are installed properly with yarn):
Additional Information
I first thought it was a node problem so I reverted from 7.6.0 to the 6.10.0 LTS version, same result.
The text was updated successfully, but these errors were encountered: