I just upgraded my expo SDK to the last version so I faced some issue about some screens where the react-native-pie-chart & react-native-pie doesn't work I google it but I didnt found the solution for those who suggest to link the react-native-community/art that's not working in Expo.May someone suide me to solve it please
Error:
Invariant Violation: requireNativeComponent: "ARTShape" was not found
in the UIManager.
This error is located at:
in ARTShape (created by Shape)
in Shape (at Pie.tsx:42)
I notice that those libraries are not working in this version so I tried to find a solution and I found it won't work on Android because it needs to be link as you are using the expo so it's not possible.
Solution proposed : You can eject the project than can run it.
And that's not working for me because I'm using some features of expo so I tried to install
expo install react-native-svg-charts
and worked 100% for me. I hope that's help
Related
I am currently trying to install gatsby-plugin-transition-link with npm. But it keeps throwing these error's. I have tried to research and fix the problem. But nothing I have tried has worked at all. Does anyone know what the problem could be? Thank you in advance.
This looks like a dependency issue with React 17 or v3 of gatsby, there are a few issues like this one in the gatsby-plugin-transition-link repository. Some gatsby plugins may require some fine tuning when making this jump to React 17 or v3, the documentation can be found here.
I tried to run a new React Native (Android) project I got from somebody. When I run yarn install, the following error happens. How can I fix this ? I am new to react native.
patch-package: Applying patches...
**ERROR** Failed to apply patch for package react-native-confirmation-code-input
This error was caused because Git cannot apply the following patch file:
patches/react-native-confirmation-code-input+1.0.4.patch
This is usually caused by inconsistent whitespace in the patch file.
For anyone having this problem, this isn't a React-Native problem per se, it's because the library patch-package is trying to apply a patch for "react-native-confirmation-code-input" and fails.
This is mostly caused when the patch is created in Linux/MacOS and then used in Windows, because of EoL differences.
I’m new to expo.io and I’ve created a simple app using Expo XDE. I’m using a windows 10 PC and testing via QR with an IPhone 6S and a Galaxy S8.
The problem is that I can’t test my app on the iPhone because it throws an error saying “Cannot find module project route/node_modules/expo/tools/hashAssetFiles. Meanwhile, on the Galaxy S8 works perfectly!
Error image here.
Does anyone know how can I solve this problem? Thanks in advance!
It seems this occurs when you don't have expo installed as a dependency in your node_modules and package.json, you have the wrong version of a package installed, or you have it installed in the wrong section. Make sure your expo dependencies are under dependencies and not under dev-dependencies.
Reference: Github Issue
I initialized a react native project. It installed with 0.45.0 version of react-native.
XCode isn't able to build it.
There is a problem with config.hpp file.
Error is highlighted in red color, which says "'boost/config/user.hpp' file not found"
Been struggling with this issue all day today. Looks like there might be something in the latest version of react-native that is causing the build issues. And I tried just about everything to fix it.
Not sure what the long-term solution is, but I just rolled back to 0.44.0 and that seems to be working for me as a temporary fix.
react-native init MyAwesomeApp --version react-native#0.44.0
delete $APP_DIR/node_modules/react-native/third-party/glog-0.3.4
download glob-0.3.5 from https://github.com/google/glog replace glob-0.3.4
I am trying to bring-up our react-native app on Android. It is working fine on iOS. When I try to run the debug build, react-native throws the below error:
TypeError: undefined is not an object
(evaluating 'require('BatchedBridge').flushedQueue')
("line":1 in generated bundle)
How do I figure out what is causing the error?
Any advice is greatly appreciated. Saw online that sometimes such an error message can contain the column, but in my case there is only the line number. I am running react-native 0.17.
Had a messed-up path, in one place. Fixing that alleviated the problem.
It seems that react-native Android is ready for business, as much as anything...
It would be nice to have better diagnostics, and perhaps integrate react-native Android with an IDE to the point where the IDE [plugin] would be able to make inclusion of Android modules into config more seamless. Xcode linking configuration is also not perfect, but it is slightly easier on developers.
Since react-native is a young project, there is no reason to not expect such tools in the future, I hope.