Failed to install expo package with error: spawn yarnpkg ENOENT spawn yarnpkg ENOENT code example
Example: failed to install expo package with error: spawn yarnpkg enoent
remove this line from package.json
"react-native": "https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz"
now remove node_modules
now:
yarn install
now add that line back in package.json
again
yarn install
now if it succeeds, do a
expo upgrade
I solved after 2 days