"Node +17 is not compatible with older versions of expo-cli"
P粉709307865
2023-08-24 13:23:27
<p>I have installed expo-cli and set environment variables. It gives the following error: </p>
<p>The old version of expo-cli does not support Node 17. Please migrate to the versioned Expo CLI (npx expo).
Uncaught Error: Error: EPERM: Operation not allowed, creating directory 'C:\Usersa.expo'</p>
<p>Node version: v18.12.1
npm version: 9.1.3</p>
I encountered the same error after installing a package. After some investigation, I noticed that the version system has expo dependency "^1.0.0". So I updated it to "npx expo upgrade" and my app worked fine. Before npx expo upgrade