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
Error building project ("transforming index.android.js took longer than 301 seconds.") #8475
Comments
I have same issues. Happened when i switched to react-native 0.28 from 0.26.3. |
Downgrading doesn't help. I believe it is not a 0.28-specific issue. |
I have tried to reclone the project and still hitting the same error |
+1 |
1 similar comment
+1 |
i wrapped json as a string in js file as a quickfix and parsing it in runtime. |
@zaynyatyi it is, of course, bad solution for production releases. |
It seems to be coming from the last version of babel/babylon. |
@alwx it is, but currently it's a blocker and it's just a quick solution while there is no fix |
@Bhullnatik it works, thanks! |
How did you downgraded this package? You've installed it like |
@ColCh just go to node_modules/react-native and do |
No way for me. Even with this command:
Build log below.
|
@ColCh what's your |
$ npm list babylon
Foo@0.0.1 /Users/someuser/Foo
├─┬ babel-core@6.10.4
│ └── babylon@6.8.3
└─┬ react-native@0.28.0
└── babylon@6.8.1 |
looks like issues fixed, you can upgrade babylon to latest (6.8.3) on вт, 5 июл. 2016 г. в 18:48, Max Sysoev notifications@github.com:
|
Yeah, I noticed that version bumb. $ npm list babylon
Foo@0.0.1 /Users/someuser/Foo
├─┬ babel-core@6.10.4
│ └── babylon@6.8.3
└─┬ react-native@0.28.0
└── babylon@6.8.3 Checked on old build which failed with RN depends on |
Hi there! This issue is being closed because it has been inactive for a while. But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/error-building-project-transforming-indexandroidjs-took-longer-than-301-seconds Product Pains has been very useful in highlighting the top bugs and feature requests: Also, if this issue is a bug, please consider sending a pull request with a fix. |
We're still experiencing this regardless of the upgrade to |
This error can appear again because of |
Downgrading babel no longer fixes this starting around react native 0.43.0. It breaks the build in another way (I can't recall at the moment). Might be related: #12590 (comment) |
i'm having the same problem with an expo app with babylon 6.18.0 |
I've opened a metro bug for this here facebook/metro#111 |
Hello, everybody.
Everything was absolutely fine, but now I can't build my project anymore and every time I try I see the following error:
More importantly, even if I do
git checkout <sha of some old commit>
in my project, I can't make it buildable. Maybe it is some cache error or something like that, but, of course, I am not sure. Brief googling didn't help.react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output main.jsbundle --assets-dest ./ios
doesn't work too.The text was updated successfully, but these errors were encountered: