After running npm install -g expo-cli
and successfully installing the packages globally, expo
is still not recognized as an internal or external co
For me, i uninstalled node.js,
i re-installed node.js,
i ran npm install -g expo-cli
,
then ran expo --version (the expo command began to work).
Hope this helps.
This worked for me:
It will solve your problem
Re-install node.js and
then run npm install -g expo-cli
in command prompt.
I have fixed this in Windows 10 by setting Path C:\Users\[USERNAME] this line save my hrs
I faced same problem and it was not getting resolved by "npm install --global expo-cli". Global CLI was having error as SS below -
Followed below steps to get it resolved
And expo cli worked. Happy coding!!!
This is a more general problem where your global node modules are not in your system path. This question is what you are looking for: Nodejs cannot find installed module on Windows?