Is it possible to use react-three-fiber with React-Native CLI application? #3218
-
I have tried to set up it with React-Native CLI application, and came up with the following limitation.
React Version: 18.2.0 In the documentation also, there is no specification for the CLI project. Yes, with expo-project it is okay, But if I want it to integrate with my CLI project, what will be the solution? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
Thanks again, If you consider this issue. :) |
Beta Was this translation helpful? Give feedback.
-
We maintain instructions for both, more specifically for react-native CLI: https://docs.pmnd.rs/react-three-fiber/getting-started/installation#react-native # Create and link bare app
npx react-native init my-app
npx install-expo-modules@latest
cd my-app |
Beta Was this translation helpful? Give feedback.
-
Did you solve this problem? I have the same problem. |
Beta Was this translation helpful? Give feedback.
-
Hi @SB2318 , I try the commands but got this error message, could you help me? thanks.
I got the other error after using
|
Beta Was this translation helpful? Give feedback.
-
First delete your node_modules as well as package.lock or yarn.lock Then try to follow the step after a 'npm clean cache' or 'npm start --reset-cache' If you are using npm install yarn then (ii) install expo-modules
@t104360088 please let me know If this suggestion helps you. 😇 |
Beta Was this translation helpful? Give feedback.
We maintain instructions for both, more specifically for react-native CLI:
https://docs.pmnd.rs/react-three-fiber/getting-started/installation#react-native