Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The legacy expo-cli does not support Node +17

I have installed expo-cli and set the env variable. It gives this error:

The legacy expo-cli does not support Node +17. Migrate to the versioned Expo CLI (npx expo). Uncaught Error Error: EPERM: operation not permitted, mkdir 'C:\Users\a.expo'

Node Version: v18.12.1 npm version: 9.1.3

like image 289
Anosha Sheikh Avatar asked Dec 29 '25 14:12

Anosha Sheikh


2 Answers

I got the same error after installing a package. After some digging I noticed that the version system has expo dependencies "^1.0.0". As a result, I updated it as " npx expo upgrade " and my application worked. before npx expo upgrade

like image 109
Serkan Kısacık Avatar answered Jan 01 '26 05:01

Serkan Kısacık


I had the same problem and I used npx expo-cli upgrade command inside of the project directory and my problem solved.

like image 29
haghighi251 Avatar answered Jan 01 '26 04:01

haghighi251



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!