I’ve installed the Expo-CLI using Node and NPM to begin my journey in learning React Native.
I was successful in getting the beginning of the project going and Xcode / Android Studio are working with the simulators.
The problem occurred once I installed Yarn, however this was part of the instructions in the React Native tutorial.
Now, when I check for the NPM version I get “-bash: npm: command not found”:
If I even try to install NPM I get " -bash: npm: command not found":
npm install npm@latest -g
Now I understand this isn’t directly a question about Yarn, but I was prompted by the Expo-CLI to install Yarn in the process of installing Expo.
Is there a way to fix this issue?
Where did my installation of NPM go? I did not uninstall it. I’ve had it installed on my machine forever.
Expo CLI 3.18.6 environment info:
OS: macOS 10.15.4
Shell: 3.2.57 - /bin/bash
Node: 12.16.2 - /usr/local/bin/node
Android Studio: 3.6 AI-192.722.214.171.12492135
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild