Okay so after a bit of research and the error I got now it is clear that this is a problem from npm so I just installed react-native-cli instead of expo-cli and it worked.

thanks for the support.

Answer from The Destroyer on Stack Overflow
🌐
Expo
expo.dev › tools
Get Expo Tools — Expo
Explore and download the Expo development tools for free.
Expo Go
Run your projects on your own device faster and share those projects across your team.
Log In
EAS - Expo Application Services · Acceptable use policy
Sign Up
I agree to the Terms of Service and Privacy Policy · Build, submit and update your app with Expo's cloud services
Pricing
Build, submit, host, and update your apps with mobile CI/CD that scales.
🌐
Expo Documentation
docs.expo.dev › more › expo-cli
Expo CLI - Expo Documentation
The expo package provides a small and powerful CLI tool npx expo which is designed to keep you moving fast during app development. Start a server for developing your app: npx expo start.
🌐
Medium
riyagoel192.medium.com › installing-react-native-expo-cli-in-windows-d4b4d9eae524
Installing React Native Expo CLI in Windows | by Riya Goel | Medium
August 11, 2020 - Installing React Native Expo CLI in Windows In this article, we will learn how to install Expo CLI for building React Native applications. Prerequisites: Node.js must be installed on your machine …
🌐
NotJust
notjust.dev › blog › 2021-11-04-expo-development-environment-setup-for-first-react-native-project-windows
Expo Development Environment Setup on Windows
This steb-by-step guide will walk you through the Expo Development Environment setup for Windows users to prepare you for your first React Native project.
🌐
npm
npmjs.com › package › expo-cli
expo-cli - npm
The command-line tool for creating and publishing Expo apps. Latest version: 6.3.10, last published: 2 years ago. Start using expo-cli in your project by running `npm i expo-cli`. There are 29 other projects in the npm registry using expo-cli.
      » npm install expo-cli
    
Published   Jul 05, 2023
Version   6.3.10
🌐
Restack
restack.io › p › expo-cli-knowledge-download-expo-cli-for-windows
Download Expo CLI For Windows | Restackio
Learn how to download and set up Expo CLI on Windows for efficient mobile app development using Open Source resources. | Restackio
🌐
Expo
expo.dev
Expo
An SDK 10 years in the making. Trusted by thousands of enterprises and startups. Develop on your phone, just like how your users will experience your app. Download Expo Go.
Find elsewhere
🌐
GitHub
github.com › expo › expo-cli
GitHub - expo/expo-cli: Tools for creating, running, and deploying universal Expo and React Native apps
The modern local Expo CLI is included with the expo package and does not need to be installed separately. Run it with npx expo.
Starred by 2.7K users
Forked by 479 users
Languages   TypeScript 86.3% | HTML 6.9% | JavaScript 6.8%
🌐
Medium
medium.com › @malihanadeem881 › install-react-native-expo-cli-today-a-comprehensive-guide-cbb349478d4e
Install React Native Expo CLI Today: A Comprehensive Guide | by Maliha Nadeem | Medium
October 31, 2023 - Download Node.js: Visit the official Node.js website (https://nodejs.org/) and download the recommended version for your operating system (Windows, macOS, or Linux). Installation: After downloading Node.js, run the downloaded installer and follow ...
🌐
IT Solutions
solutionfall.com › home › questions › how do you install expo cli on windows 10?
How do you install Expo CLI on Windows 10? - IT Solutions | Free tech support | SolutionFall.Com
September 17, 2024 - 2. Open a new command prompt window: – You can do this by pressing `Win + R`, typing `cmd`, and then pressing Enter. 3. Install Expo CLI globally: – Run the following command:
🌐
Web530
web530.ca › environment-setup › expo-windows
Windows IDE Setup
Install Visual Studio Code if you don't already have it installed. You can download it here. ... Visual Studio Code. Open the Terminal window. You can click on the ... New Terminal. Type the command: npm install -g expo-cli You may notice some modules are deprecated, this is normal and you ...
🌐
npm
npmjs.com › package › @expo › cli
expo/cli
The Expo CLI. Latest version: 54.0.19, last published: 7 days ago. Start using @expo/cli in your project by running `npm i @expo/cli`. There are 6 other projects in the npm registry using @expo/cli.
      » npm install @expo/cli
    
Published   Dec 11, 2025
Version   54.0.19
Author   Expo
🌐
GitHub
github.com › expo › expo-cli › issues › 650
Cannot install expo-cli global (windows 10) · Issue #650 · expo/expo-cli
May 25, 2019 - yarn global v1.16.0 [1/4] Resolving packages... warning expo-cli > @expo/xdl > [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
Published   May 25, 2019
🌐
DhiWise
dhiwise.com › post › easy-steps-to-install-expo-cli-npm-for-your-development
How to Install Expo CLI NPM for Your Development Environment
November 14, 2024 - Learn how to quickly install Expo CLI using NPM to streamline your development process. Read our guide for step-by-step instructions!
🌐
SourceForge
sourceforge.net › projects › expo.mirror
Expo download | SourceForge.net
Download Expo for free. An open-source platform for making universal native apps with React. Expo is an open source framework and platform for creating universal React applications that run on Android, iOS, and the web.
🌐
Expo Documentation
docs.expo.dev › bare › using-expo-cli
Migrate from React Native CLI to Expo CLI - Expo Documentation
We recommend Expo CLI for most React Native projects that target Android, iOS, and/or web. It does not yet have built-in support for the most popular out-of-tree platforms, such as Windows and macOS.