Cannot determine which native SDK version your project uses because the module `expo` is not installed. Please install it with `yarn add expo` and try again wont work code example

Example: cannot determine which native sdk version your project uses because the module `expo` is not installed. please install it with `yarn add expo` and try again.

Try npm install expo instead of yard add expo.

Note: yarn is another package manager just like npm. If you have npm installed already then you can replace yarn add with npm install always.