79121034

Date: 2024-10-24 08:37:17
Score: 1
Natty:
Report link

Your error screenshot clearly says that the "Expo cli" you are using, has been deprecated, which means it is discontinued.

It is suggesting you to use the "new Expo CLI" instead, which comes bundled in the Expo package.

Now, to install the Expo-camera, all you need to do is run : npx expo install expo-camera

The above command will install Expo-Camera module for your native React app. The documentation is here : https://www.npmjs.com/package/expo-camera

Please note that Expo-camera module requires "Expo" to be installed first. To install Expo, run this : npx install-expo-modules@latest

Documentation: https://docs.expo.dev/bare/installing-expo-modules/

If this is helpful, mark as Answer

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cool1