I'm trying to run my react native code from a github repository on ubuntu by using npm start and expo. When I run npm start I get the follow error:
"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."
I have tried the 'yarn add expo' but that doesn't seem to work because I can't get yarn to work and it doesn't recognize 'add'. I haven't found anything on this problem either. Does somebody know what is going on?
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.