For mac users (linux should be very similar):

Find your expo-cli version:

which expo-cli

For me it yielded:

/Users/username/.config/yarn/global/node_modules/.bin/expo-cli

Remove this outdated version:

rm -rf /Users/username/.config/yarn/global/node_modules/.bin/expo-cli

Check that you are using the latest version:

expo-cli --version
Answer from laurent lahmy on Stack Overflow
🌐
Expo Documentation
docs.expo.dev › more › expo-cli
Expo CLI - Expo Documentation
November 11, 2025 - Build and run the native apps locally: npx expo run:ios and npx expo run:android. Install and update packages that work with the version of react-native in your project: npx expo install package-name.
🌐
Expo Documentation
docs.expo.dev › workflow › upgrading-expo-sdk-walkthrough
Upgrade Expo SDK - Expo Documentation
3 weeks ago - Learn how to incrementally upgrade the Expo SDK version in your project.
🌐
Reddit
reddit.com › r/expo › how do i upgrade to the versioned expo cli?
r/expo on Reddit: How do I upgrade to the versioned Expo CLI?
April 18, 2023 -

I'm having trouble running a dev build with expo-notifications. Whenever I use it I get the following error: Cannot read property __expo_module_name__ of undefined.

So digging around on google I found some posts that suggest some library or version incompatibility which is why I was checking my expo version. expo --versionreturns WARNING: The legacy expo-cli does not support Node +17. Migrate to the versioned Expo CLI (npx expo). 6.3.2

Could this be the cause for the error? How can I upgrade to the version Expo CLI?

As I'm a beginner I appreciate all the help I can get, thank you!

edit. updated my understanding a little, please correct me if I'm wrong. So if I run npx expoand then the command it should always take the latest version of expo anyway, right?

🌐
React Native
reactnative.dev › docs › upgrading
Upgrading to new versions · React Native
1 week ago - Upgrading your Expo project to a new version of React Native requires updating the react-native, react, and expo package versions in your package.json file. Expo recommends upgrading SDK versions incrementally, one at a time. Doing so will help you pinpoint breakages and issues that arise during the upgrade process.
🌐
DevCamp
devcamp.com › trails › mobile-development-react-native › campsites › authentication-react-native › guides › upgrading-expo-cli-npm-terminal
Upgrading the Expo CLI and Npm from the Terminal
So it's npm install dash g remember that's because we want this package installed globally, and then expo dash cli. So, all you have to do is run that command and Node is gonna go up, it's gonna grab that package, and it's going to install it. So, I'm gonna fast forward it, and let's just, ...
🌐
Fig
fig.io › manual › expo-cli › upgrade
expo-cli upgrade [sdk-version] | Fig
expo-cli webhooks:update · Upgrade the project packages and config for the given SDK version · On this page · Arguments · Options ·
Find elsewhere
🌐
npm
npmjs.com › package › expo-cli
expo-cli - npm
July 5, 2023 - Granular tokens are now limited to 90 days and require 2FA by default. Update your CI/CD workflows to avoid disruption. Learn more.× ... Author message:The global Expo CLI has been superseded by 'npx expo' and eas-cli –– Learn more: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421
      » npm install expo-cli
    
Published   Jul 05, 2023
Version   6.3.10
🌐
GitHub
github.com › expo › expo › issues › 24957
"npm install -g expo-cli" doesn't update expo-cli · Issue #24957 · expo/expo
September 17, 2023 - You must install peer dependencies yourself. npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself. + [email protected] added 5 packages from 8 contributors and updated 36 packages in 56.748s
Published   Oct 20, 2023
🌐
Expo Documentation
docs.expo.dev › versions › latest › sdk › updates
Updates - Expo Documentation
It communicates with the configured remote update service to get information about available updates. The expo-updates library can be automatically configured using EAS Update, which is a hosted service that manages and serves updates to your app.
🌐
Expo Documentation
docs.expo.dev › eas-update › getting-started
Get started with EAS Update - Expo Documentation
1 week ago - ... The eas update:configure command will update your app.json file with the runtimeVersion and updates.url properties, and add the extra.eas.projectId field if your project wasn't using any EAS services previously.
🌐
Expo Documentation
docs.expo.dev › bare › using-expo-cli
Migrate from React Native CLI to Expo CLI - Expo Documentation
November 11, 2025 - Learn how to migrate from React Native CLI (@react-native-community/cli) to Expo CLI for any React Native project.
🌐
GitHub
github.com › expo › eas-cli
GitHub - expo/eas-cli: Fastest way to build, submit, and update iOS and Android apps
Only relevant if you are using code signing: https://docs.expo.dev/eas-update/code-signing/ --rollout-percentage=<value> Percentage of users this update should be immediately available to. Users not in the rollout will be served the previous latest update on the branch, even if that update is itself being rolled out. The specified number must be an integer between 1 and 100. When not specified, this defaults to 100. DESCRIPTION roll back to an existing update · See code: packages/eas-cli/src/commands/update/republish.ts
Starred by 1.2K users
Forked by 162 users
Languages   TypeScript
🌐
Nodejs
expo.nodejs.cn › versions › latest
参考 - Expo 中文网
The easiest way to create a React Native app with support for Expo SDK packages is to use create-expo-app. However, you can also add Expo SDK support to an existing React Native app with the npx install-expo-modules command. ... Learn more about configuring projects created with npx @react-native-community/cli@latest init to Expo SDK packages.
🌐
DevPress
devpress.csdn.net › react › 62f28c0f7e66823466185548.html
Understanding Expo for React Native_reactnative_weixin_0010034-React
To update your app with project-level changes, you need to generate a new IPA/APK file and then re-submit your app to the Google Play or App Store. When you create your app via Expo, it creates a file structure for you that does not include the iOS and Android project files.
🌐
China Daily
chinadaily.com.cn › a › 202506 › 26 › WS685ca994a310a04af22c89c0.html
Google unveils open-source Gemini CLI - Chinadaily.com.cn
June 26, 2025 - Google is also open-sourcing Gemini CLI under the Apache 2.0 license. Free users can make 60 model requests per minute and 1,000 requests per day. According to Google, it is roughly double the average number of requests developers made when using the tool. Photo · Renewable energy powers Summer Davos in Tianjin · High-tech exhibits displayed at 9th China-South Asia Expo in Kunming ·
🌐
Docs4dev
docs4dev.com › docs › react_native › latest › running-on-device.html
Welcome to Doks
A Mac is required in order to build your app for iOS devices. Alternatively, you can refer to our environment setup guide to learn how to build your app using Expo CLI, which will allow you to run your app using the Expo client app.
🌐
Expo Documentation
docs.expo.dev › bare › installing-updates
Install expo-updates in an existing React Native project - Expo Documentation
1 week ago - Run eas update:configure to set the updates URL and projectId in app.json. ... Modify the expo section of app.json. If you created your project using npx @react-native-community/cli@latest init, you will need to add the following changes including ...
🌐
Npmmirror
npmmirror.com › package › @hashgraph › sdk
npmmirror 镜像站
The JavaScript SDK for interacting with Hedera Hashgraph: the official distributed consensus platform built using the hashgraph consensus algorithm for fast, fair and secure transactions. Hedera enables and empowers developers to build an entirely new class of decentralized applications · ...