After running npm install -g expo-cli
and successfully installing the packages globally, expo
is still not recognized as an internal or external co
I had the same problem last night, and I've recently started my journey in ReactNative. So, there might be better answers out there.
If you're following the ReactNative Official documentation, the first time npm start works fine, the subsequent ones throws an error saying expo
is not recognized. I got around that by running expo start
and not npm start
( which basically is the same thing but doesn't work for some reason ).
So, mine looks like a work around rather than an explanation as to why this happens or how to permanently fix it.