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”: npm -v
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:
System:
OS: macOS 10.15.4
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.16.2 - /usr/local/bin/node
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6392135
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild