Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
90 votes
21 answers
155k views

npm ci can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1

This is the issue that I am facing when running the command npm ci to install dependencies in my GitHub Action file. I am working on an expo managed app and using GitHub Actions as a CI for triggering ...
sakshya73's user avatar
  • 6,774
47 votes
12 answers
22k views

react native downloading javascript bundle 100% stuck

when I am trying to execute npm start it works fine, but when i try to run my application by expo the process goes till 100% and after that nothing happens. I am not getting what is exact issue over ...
Deepak's user avatar
  • 482
32 votes
16 answers
63k views

Failed to install expo package with error: yarnpkg exited with non-zero code: 1 yarnpkg exited with non-zero code: 1

Im currently trying to update my Expo SDK from 36.0.0 to atleast 37.0.0 with the command expo update however im getting the error: × Failed to install expo package with error: yarnpkg exited with ...
HCx3's user avatar
  • 451
29 votes
5 answers
12k views

Main module field cannot be resolved after installing @apollo/client

I'm running into an error after installing Apollo when trying to run my React Native Expo app. I've tried deleting node-modules and re-installing, resetting cache, restarting computer, and still no ...
May's user avatar
  • 321
28 votes
21 answers
120k views

Unable to find expo in this project - have you run yarn / npm install yet?

I'm Unable to execute the expo start command. Error Message: PS C:\Users\Jacky Goyal\OneDrive\Desktop\rn1\my-project> expo start Starting project at C:\Users\Jacky Goyal\OneDrive\Desktop\rn1\my-...
Ishika IT's user avatar
  • 319
26 votes
7 answers
54k views

How to fix npm start "cannot determine native SDK version" error?

I'm trying to run my react native code from a github repository on ubuntu by using npm start and expo. When I run npm start I get the follow error: "Cannot determine which native SDK version your ...
Joppe De Jonghe's user avatar
17 votes
5 answers
20k views

How do I update npm packages in Expo

In my regular React Native projects, I run npm update {package-name} regularly to make sure my libraries are up-to-date. For example, I use a third party user authentication package and want to make ...
Sam's user avatar
  • 29.2k
14 votes
31 answers
90k views

Can't run "npm install expo-cli --global"

I am a newbie in all this stuff. Hope for your understanding. Let me clarify the issue: I am trying to start react native app through expo cli. So tried to start npm install expo-cli --global to ...
Jaloliddin Jaloliddinov's user avatar
14 votes
4 answers
22k views

Expo Error starting tunnel Failed to install @expo/ngrok@^2.4.3 globally

I'm trying to run expo with a tunnel connection and I keep getting the following error: Error starting tunnel Failed to install @expo/ngrok@^2.4.3 globally: npm exited with non-zero code: 243 I've ...
SamH's user avatar
  • 221
13 votes
5 answers
26k views

React Native Expo - Node.js version 11.13.0 is no longer supported

I'm using Expo with React Native but when trying to create a new project I get the error: ERROR: Node.js version 11.13.0 is no longer supported. expo-cli supports following Node.js versions: * >=...
Hasen's user avatar
  • 12.2k
13 votes
4 answers
18k views

Can't run 'expo start' on a expo-react-native app, permission problem

Well, i see that already have many questions related to my problem on this site, but i also see that NONE of the solutions work for my specific case, because of that, i am opening that question, so it ...
Paulo Roberto Rosa's user avatar
13 votes
2 answers
7k views

I can't run my expo project since I updated expo-sdk

When I try to run my expo project I get this message: D:\React\myproject>npm start > start > expo start Starting project at D:\React\myproject Unable to find expo in this project - have you run yarn ...
Diogo Pinheiro's user avatar
13 votes
7 answers
27k views

"Error: Cannot find module 'metro-core'" when starting an Expo project

Whenever I start Expo Go with the expo start command, this error appears : Error: Cannot find module 'metro-core' Require stack: - /usr/local/lib/node_modules/expo/node_modules/@expo/cli/build/src/...
Radwa Ahmed's user avatar
12 votes
5 answers
26k views

npm install fails (unable to resolve dependency tree)

Trying to reduce any changing variables and using a fresh pull of my code. They are no node-module packages or package-lock.json. I run npm install I get this error: npm ERR! code ERESOLVE npm ERR! ...
Bruce Mathers's user avatar
11 votes
4 answers
5k views

Trying to import realm, but getting error: Missing Realm constructor. Did you run "pod install"? (I'm using windows)

I'm making a mobile application with react native. I want to use Realm (mongodb). So after running: npm install realm realm was correctly added in the "node_modules" and I tried to import ...
Jeff Chong's user avatar
9 votes
4 answers
18k views

I am getting Invalid regular expression error while running npm start

I have recently installed the expo. I have created a project using expo init. After creation when I running npm start I am getting below error please slove my issue > @ start C:\Users\ujwal\...
user3359125's user avatar
8 votes
5 answers
37k views

How do I properly install expo-cli with yarn?

I'm trying to install expo-cli. When I use npm install -g expo-cli, it installs with the below output. When I try to run the expo command I get an error that the system cannot find the path ...
chidimo's user avatar
  • 2,878
8 votes
1 answer
4k views

How to tell Expo to install npm dependencies with --legacy-peerdeps option?

I'm trying to build my Expo mobile app locally. When Expo starts the [INSTALL_DEPENDENCIES] step, it performs npm install. But in my case, I'm aware of a legacy package I'm using which is causing some ...
Abdulrahman Hashem's user avatar
8 votes
7 answers
23k views

unable to resolve module `@expo/vector-icons`

Im not sure why I'm getting this error: Unable to resolve module `@expo/vector-icons` from `...(directory path here)...` : Module does not exist in the module pack I have tried the following things ...
Gurmukh Singh's user avatar
8 votes
3 answers
9k views

`expo start` in development stuck at "Tunnel Connected", QR code is unusable

I'm currently running a detached expo project in development mode. Whenever I run expo start or npm start in the terminal I get the following logs: $ expo start ...
skpdm's user avatar
  • 1,408
8 votes
9 answers
13k views

RN Expo issue - Something when wrong installing JavaScript dependencies. Check your npm logs. Continuing to initialize the app

I am using react native and Expo. I am unable to build new app because after I use expo init appName it shows the following error. Heres the full message: 📦 Using npm to install packages. You can ...
Rifat's user avatar
  • 1,828
8 votes
2 answers
2k views

Why do I keep getting this error code when starting Expo client

To run the app, choose one of: › Scan the QR code above with the Expo app (Android) or the Camera app (iOS). › Press a for Android emulator, or i for iOS simulator, or w to run on web. › Press e to ...
Ike's user avatar
  • 81
7 votes
2 answers
5k views

Invalid Regular Expression error after running expo start command

I am new to React native development. After running: expo start or npm start or yarn start It returns the following error message: Invalid regular expression error How can I debug this? PS C:...
Sanjeev's user avatar
  • 93
7 votes
2 answers
16k views

Unable to resolve dependency tree - React Native Expo

I have been starting my story with React Native (Expo). Someday I needed to install datetimepicker. Unfortunately, I have done something wrong. I tried to face the problem by myself. I removed the ...
Amsky's user avatar
  • 71
7 votes
4 answers
14k views

How can I generate an AndroidManifest.xml from an existing react-native project?

I already have a react-native app created and I wanna access the user's geolocation. Well, I don't have any Android's folder and I need to add some permissions in AndroidManifest.xml. How can I tie ...
Ktj's user avatar
  • 89
7 votes
0 answers
854 views

Testing react components in jest-expo always fails

I have followed the following tutorial for installing Jest with expo. https://docs.expo.io/versions/latest/guides/testing-with-jest/ After following this tutorial I encountered these errors: react-...
Steven Leunk's user avatar
6 votes
5 answers
47k views

npm ERR! Error: EPERM: operation not permitted, unlink

OS : Windows 10. npm version : 6.9.0 node version : 12.4.0 I'm working on an expo application. I would like to install all the packages on my expo application (npm install). But, an error occured : ...
Thomsath's user avatar
  • 177
6 votes
4 answers
24k views

Dependencies are not compatible with currently expo package version when running npm start

I recently update npm and now, when I run npm start, This message shows up: Some of your project's dependencies are not compatible with currently installed expo package version: - @react-native-...
YohanTz's user avatar
  • 118
6 votes
6 answers
14k views

Expo CLI is installed globally but "npm start" command still asks

I have installed expo-cli globally. But when I try to run command npm start it still asks to install expo-cli globally. Why? I have reinstalled expo-cli again but same issue, even after machine ...
Nah's user avatar
  • 1,738
6 votes
1 answer
3k views

React Native Expo App: How to get it to run Jest tests

So Jest seems to be broken out of the box right now, when creating a React Native App with Expo. Steps to reproduce: `expo init' Choose tabs. cd into your app. Run npm test 👉🏻 Fails I googled and ...
J. Hesters's user avatar
  • 14.2k
6 votes
2 answers
3k views

Unable to resolve module 'module://@babel/runtime/helpers/interopRequireDefault.js' - EXPO SNACK

I am getting the error 'Unable to resolve module 'module://@babel/runtime/helpers/interopRequireDefault.js' when I try to run the following code in Expo Snack Below is my code for HomeScreen.js ...
Naveen DINUSHKA's user avatar
6 votes
2 answers
3k views

Expo start fails with "Unexpected end of JSON input" when attempting to run on android simulator

I have an expo app that, as soon as I launch on the android simulator, hangs at 99% Building Javascript Bundle and outputs in the console a very cryptic: Unexpected end of JSON input I have tried: ...
0plus1's user avatar
  • 4,535
6 votes
4 answers
12k views

'expo start' or 'npm start' command stuck at ''Starting metro bundler"

I am using react native expo for building mobile app. I followed below steps:- expo init myapp cd myapp expo start After running above 3 commands everything was working fine few days ago. But from ...
NightCoder101's user avatar
6 votes
1 answer
2k views

Module `scheduler` does not exist in the Haste module map

I am trying to run existing expo project. I've cloned it and ran yarn and then expo start. and got this error: Unable to resolve module scheduler from /path-to-project/node_modules/react-native/...
Mo Algh's user avatar
  • 81
6 votes
1 answer
1k views

Unable to create new React Native app with Expo

I attempted to create a new React native project using the expo-cli. I enter the command "npx create-expo-app my-app" and I get this message in the terminal "Something went wrong in ...
Max's user avatar
  • 305
6 votes
1 answer
781 views

Different versions of a package are requierd

I'm trying to install Expo, React and React-Native as dependencies of a project. The package.jason is like this: "main": "node_modules/expo/AppEntry.js", "private": true, "dependencies": { "expo":...
Saeid's user avatar
  • 83
5 votes
1 answer
4k views

I'm trying to reinstall expo-cli package globally with the command sudo npm install --g expo-cli note that I try --force

bosshoc@MBP-de-BOSS meals-app % sudo npm install -g expo-cli Password: npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /usr/local/lib/node_modules/expo-cli npm ERR! dest /usr/local/lib/...
youcefker's user avatar
5 votes
7 answers
23k views

npm ERR! cb() never called

I was trying to download expo cli and I got error:- C:\WINDOWS\system32>npm i -g expo-cli npm ERR! cb() never called! npm ERR! This is an error with npm itself. Please report this error at: npm ...
Deep Shah's user avatar
  • 115
5 votes
5 answers
10k views

issue installing react native expo with npm install -g expo-cli

I was able to install and run react-native but when I tried to install react native expo I got some errors this is my Expo installation npm install -g expo-cli Microsoft Windows [Version 10.0....
Venda's user avatar
  • 167
5 votes
3 answers
6k views

How do I fix this error while running expo build android?

Hello, I need some help. So what's the case is I am trying to build an android apk from my expo react app. But when I try to do so, it fails. This is the output that is being shown when trying to run '...
Setu Sree's user avatar
5 votes
2 answers
8k views

Unable to resolve module 'module://graphql/language/parser.js'

I am trying to make a React Native TypeScript project on Snack Expo. Although I have already added graphql in the package.json as well as the types file, I still get this error : Device: (1:8434) ...
user avatar
5 votes
3 answers
3k views

How to overcome ERESOLVE errors within EAS build for native-base and Expo?

I have got the following package.json file. Main purpose is to use Expo 44 with native-base (version ^3.0.0). I could not figure out why such an obvious combination does not work. (Could not find ...
Mehmet Kaplan's user avatar
5 votes
2 answers
12k views

Expo React Native: expected version range: ~6.0.0 - actual version installed: ^5.0.1

After updating Expo SDK 33 to 34, I started noticing an error about several expo npm packages having to be at least v6.0.0... $ expo start -c Starting project at /Users/nyxynyx/expoapp Expo DevTools ...
Nyxynyx's user avatar
  • 62.8k
5 votes
2 answers
10k views

React Native expo init command failed

I wanted to follow this tutorial (https://facebook.github.io/react-native/docs/getting-started.html) to start learning react-native. I followed the first steps and I ran into some issues on the ...
AnthonyDa's user avatar
  • 533
5 votes
1 answer
2k views

NPM workspaces with Expo and Typescript

I'm trying to use NPM 7 workspaces within a Typescript Expo project. For now I want to keep the normal Expo structure (with the root App.tsx file), but I want to isolate some parts of the code in ...
Cohars's user avatar
  • 3,942
5 votes
2 answers
8k views

Android simulator is not loading on react-native application (Expo)

After the npm start, when the android simulator is open and running with Pixel3, if I 'click' a (for Android emulator), this error appears and the app does not open on the emulator Trying to open the ...
user avatar
5 votes
1 answer
3k views

React-native: unable to get local issuer certificate

request to https://registry.npmjs.org/expo-template-blank failed, reason: unable to get local issuer certificate FetchError: request to https://registry.npmjs.org/expo-template-blank failed, reason: ...
Kannan Nagaraj's user avatar
5 votes
2 answers
4k views

Execution failed for task ':expo-splash-screen:compileDebugKotlin when running React Native app [duplicate]

A few hours before, there's no issue when i run the React Native app on Android. Even it successfully built on Azure DevOps. until when i tried to run the app again and this happens: * What went wrong:...
Michael Amadheo's user avatar
5 votes
1 answer
3k views

Module not found: Can't resolve '@react-aria/interactions'

I'm adding native base to my existing expo react project. I've added the necessary packages as described in their installation guide, but each time I get this error, I've tried multiple iterations of ...
crevulus's user avatar
  • 2,218
5 votes
0 answers
311 views

Invalid podfile with new React Native project

I just created a new React Native project, and when I try and run pod install in the ios directory I get this error: Invalid `Podfile` file: cannot load such file -- ./scripts/autolinking I didn't ...
realsenorloadenstein's user avatar

1
2 3 4 5
9