Skip to content
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

expo-gl could not be found within the project (react-native-cli app) #10

Open
darimuhittinhey opened this issue Aug 12, 2023 · 0 comments

Comments

@darimuhittinhey
Copy link

The example imports :

import {Canvas, useFrame} from '@react-three/fiber/native';

but when i import these from @react-three/fiber/native it gives error :

error: Error: Unable to resolve module expo-gl from <project_dir_here>/node_modules/@react-three/fiber/native/dist/react-three-fiber-native.cjs.dev.js: expo-gl could not be found within the project or in these directories:
  node_modules/@react-three/fiber/node_modules
  node_modules

im not using an expo app. i have to implement in react-native-cli app

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant