Error after using 'npm start' or 'expo start'

Hi

Are you sure expo-cli installed correctly? Try running npm install -g expo-cli and check for errors similar to the ones under “Observed Behavior” on this bug report.

EDIT: The above bug has been closed because it was a duplicate of this one.

It seems that the version of libxmljs that is installed when you install expo-cli does not have an already compiled version for Windows, so npm tries to compile it. This fails if you do not have Visual Studio installed.

If you don’t want to/can’t install Visual Studio, you could try installing expo-cli version 3.5.0.

Otherwise you could install everything under Ubuntu on WSL. See this post and this one if you want to try that option.