Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
50 votes
9 answers
37k views

expo + react-native: There was a problem sending log messages

I am building a react-native app that I recently moved to expo. The app seems to display the expected screen, but before it completes, I am receiving the following error message: console.error: "...
user1790300's user avatar
  • 1,785
32 votes
4 answers
55k views

How to build expo apk using eas build

After updating expo it no longer supports building apk files using expo build:android -t apk and instead advices to using eas builds using the command eas build -p android --profile preview but it ...
coolDog's user avatar
  • 556
29 votes
9 answers
28k views

spawn yarnpkg ENOENT

This happens when I run expo install expo-permissions It explicitly returns me Installing 1 SDK 35.0.0 compatible native module using Yarn. yarn add expo-permissions@~7.0.0 spawn yarnpkg ENOENT Set ...
Wilfredo Casas's user avatar
23 votes
4 answers
23k views

"TypeError: minimatch is not a function" error when running new expo project

I have the following libraries installed on my M1 Macbook running Ventura 13.3.1: $ nvm -v 0.39.3 $ node -v v18.16.0 $ npm -v 9.6.4 $ npx expo -v 0.7.0 I generated a new expo project using the ...
pjb3's user avatar
  • 5,273
15 votes
7 answers
21k views

`Firebase` package was successfully found. However, this package itself specifies a `main` module field that could not be resolved

I'm trying to read and write to firestore, use firebase's authentication, and firebase's storage within a expo managed react-native application. Full Error: While trying to resolve module `firebase` ...
Joshua Gao's user avatar
14 votes
7 answers
11k views

npm install -g expo-cli fails with "EPERM: operation not permitted, unlink '...\adb.exe'

I receive an error when running $ npm install -g expo-cli I have tried reinstalling the node modules as An Administrator but the same error occurs. Environment: Windows 10, Node Version: 10.15.3, ...
Griseld Gerveni's user avatar
14 votes
4 answers
9k views

Unable to get started with a new Expo project | Node.js version 14.0.0 is no longer supported

I am just getting started with Expo and trying to create my first project. I installed Node.js (v14.0.0) via Homebrew, and installed installed expo-cli using npm by running the following command as ...
Nimesh Neema's user avatar
  • 1,640
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
7 answers
17k views

Expo React Native App crashing on android

Ever since I started programming in React Native with Expo, I have been using an ios physical device together with Expo app. I never had any major issues. Now i wanted to start fixing any bugs on ...
Mireia's user avatar
  • 323
11 votes
2 answers
6k views

How to implement Video and/or Audio calling in React Native Expo application

I am building a react native application using Expo and i need to add audio calling and video calling functionalities, however it seems that i cant use react-native-webrtc (Link here) without ejecting ...
Abdeen's user avatar
  • 932
9 votes
1 answer
8k views

react native - absolute import with alias name in package.json

I saw some projects using import '@someDir/something', which solves the relative import evil. Then I found this blog post talking about this method. It basically tells you to create package.json in ...
Nakamura's user avatar
  • 992
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
2 answers
9k views

Metro-Bundler doesn't automatically open

I'm new to react native and just started with the installations and set up; when I reach to the expo start or npm start] command, in most videos it shows that a page automatically opens on browser ...
Islam A.kohil's user avatar
8 votes
2 answers
10k views

How to change the hash function in webpack-config.js when using create-expo-app?

Following this guide: https://stackoverflow.com/a/73465262/13176156 I tried the two options given in the answer, but they both did not work. I installed @expo\webpack-config and implemented the ...
dnamana's user avatar
  • 83
7 votes
3 answers
13k views

axios.post() error about circular structure

Please guide me in case I'm not in proper use of axios. This simple piece of code can directly run: const axios = require('axios') axios.post('https://exp.host/--/api/v2/push/send', {"to":[...
Bee Chow's user avatar
  • 508
7 votes
4 answers
3k views

Facing error (0 , (_wordwrap || _load_wordwrap(...)).default)(...)(...).trimStart is not a function on expo init

I am trying to create react native application with Expo. As per react native official documentation, I have installed Node 8+ (v8.12.0) & expo-cli on my windows system and then run command expo ...
Shubham Takode's user avatar
7 votes
4 answers
25k views

Expo Cannot Find Module after reinstall

I'm having issues getting expo to start. It tries to open dev tools and dev tools will not open and gives me this error: Cannot find module 'C:\Users\charl\AppData\Roaming\npm\node_modules\expo- ...
Charles Pettis's user avatar
7 votes
4 answers
955 views

ExpoPushTicket does not contain the corresponding PushToken in case of error, how to know which pushToken is causing error to remove it from database

I am trying to send push notifications to more than one users of my app (pretty common to send more than one users. e.g notifying all users of a new feature). When sending notifications, ...
Abid Ali's user avatar
  • 750
7 votes
1 answer
2k views

Expo SDK 46 throwing CMAKE error when syncing Gradle

I am have managed to replicate this across 3 different repos. I am trying to sync the gradle project in Android studio from a bare Expo project but I keep getting his with the below error CMake Error: ...
sewb's user avatar
  • 127
7 votes
0 answers
418 views

How do I resolve "Invariant Violation: "main" has not been registered" - After expo eject - React-Native

After I did 'expo-eject' to my project, When I try to use this command: " react-native run-android " This is what i get : node.js version: v12.18.0 React-Native version: react-native-cli: 2.0.1 ...
TomerHalali's user avatar
6 votes
2 answers
14k views

Axios POST request sending nothing with 'multipart/form-data' [React Native - Expo]

Scenario Front end is basically a React Native (Expo) application where users can issue a report - this includes taking multiple photos and filling in some details. Backend is just node.js, with ...
Jayjay Choo's user avatar
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
20k views

package.json path don't exist after expo start was run

I get the below information in the terminal once I run expo start in the terminal. Before expo start I have run: repository was coppied into the folder npm install -g yarn npm install --global expo-...
marcinb1986's user avatar
6 votes
0 answers
624 views

Internet loss on host after running intensive app (e.g. expo-cli, create-react-app servers, etc)

I'm having a bit of a problem and I'm having a really hard time of looking up info on the web. The problem When running network-intensive applications from WSL, after a while Windows 10 loses ...
Bogdan Marius Calapod's user avatar
6 votes
1 answer
8k views

How to pass parameters to routes using a Tab Navigator NOT stack navigator

Im using the react navigation library, specifically createBottomTabNavigator The docs at https://reactnavigation.org/docs/en/params.html explain how to pass parameters between routes using a stack ...
zoonosis's user avatar
  • 799
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
1 answer
8k views

Failed to find the instance of sharp used by the global sharp-cli package

When attempting to run Expo for web I get the error "Failed to find the instance of sharp used by the global sharp-cli package" after creating a file namedwebpack.config.js in the root of my ...
SupaHam's user avatar
  • 1,175
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
4 answers
13k views

File upload from React Native ( expo ) to Node ( multer )

How can I upload a file( pdf, docs etc) from React Native using expo to the server using node. I've seen many examples for images using the expo image-picker api but I've come across none that uses ...
Anandhu's user avatar
  • 173
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
1 answer
2k views

Redirect existing website link to app expo react native

I have an app that has some payment sandbox. I am using "expo-linking" Linking.openURL(sandboxURL) to open the unique payment link on a browser everytime user wants to buy the product. If ...
Zeed Tanue's user avatar
4 votes
3 answers
6k views

I am getting this error : error listen EADDRINUSE: address already in use :::19000. What to do?

Developer tools running on http://localhost:19002 Opening developer tools in the browser... Starting Metro Bundler error listen EADDRINUSE: address already in use :::19000. Error: listen EADDRINUSE: ...
Prateek Priyadarshi's user avatar
4 votes
3 answers
5k views

Npm/Yarn Not installing properly and giving issues

node ./postinstall.js ngrok - error unpacking binary Error: You cannot extract a file outside of the target path npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @expo/[email protected] ...
Niroj Maharjan's user avatar
4 votes
11 answers
14k views

npm start fails after npm install

i create a sample project with (my os : Windows 10 ) ; expo init test cd test npm start everything works well and i can see my app on phone and my package.json looks ; { "name": "empty-project-...
redkont's user avatar
  • 337
4 votes
3 answers
3k views

npm error when trying to run "npx create-expo-app expoApp"

I am trying to setup an expo project put npm fails to do it. It does create necessary base file like APP.js and so on, but nothing else here is the error itself: npm ERR! code ENOENT npm ERR! syscall ...
oxonomy's user avatar
  • 43
4 votes
2 answers
3k views

Expo gets stuck during install with npm but installs with yarn and doesn't work

When I try installing expo using npm install -g expo-cli, it gets stuck for hours here - expo-cli error npm WARN deprecated @hapi/[email protected]: joi is leaving the @hapi organization and moving back to '...
Stephen Murya's user avatar
4 votes
5 answers
8k views

Getting the following error while executing expo init command

Installing dependencies... npm WARN deprecated [email protected]: core-js@<2.6.5 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2. npm ERR! path git npm ...
Syed Haider Raza's user avatar
4 votes
2 answers
8k views

Expo-cli is installed but "-bash: expo: command not found"

I'm new to expo-cli and keep running into this on the terminal expo init myproject -bash: expo: command not found First, I tried uninstall and installing via sudo npm uninstall -g expo-cli &&...
Etep's user avatar
  • 3,301
4 votes
1 answer
282 views

double slashes in scheme rather than tripple

App was opening fine with myapp:// scheme. Suddenly it stopped opening with myapp:// scheme. I called Linking.makeUrl() and it returned myapp:///. Now when i open myapp:/// scheme the app works fine. ...
Bilal Haider's user avatar
4 votes
1 answer
11k views

expo init showing Error in downloading and expracting due to TypeError

I installed expo-cli in ubuntu using npm install --global expo-cli and it installed with some warning. npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated ...
Abhiram P Jayan's user avatar
4 votes
1 answer
920 views

Installing expo-cli: Could not resolve dependency:

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! Found: [email protected] npm ERR! node_modules/expo-cli/node_modules/type-fest npm ERR! type-fest@"^0....
Billjesh Baidya's user avatar
4 votes
0 answers
282 views

Using third party npm library which using crypto in Expo

In our expo mobile application we need to install NPM package which have crypto dependency. Is it possible to replace that with expo-crypto library. So that instead of NODE's inbuilt crypto library, ...
V.Saulis's user avatar
4 votes
0 answers
475 views

expo-detox-hook is not installed in your osx Library (Expo + Detox + Travis)

ERROR Travis build fails with the following error expo-detox-hook is not installed in your osx Library. Run `npm install -g expo-detox-cli && expotox clean-framework-cache && ...
Bryan Boyko's user avatar
4 votes
0 answers
1k views

React Native - Expo Audio API Issue with remote audio uri: “The server is not correctly configured”

Using the Expo audio API, I’ve run into an issue playing an audio file from a remote server url. During troubleshooting, I manually copied the file and tested require(local_file_path) and that worked ...
offthewall1066's user avatar
4 votes
0 answers
680 views

FormData POST request throws Network error

I have a react native app that allows users to upload images to the server along with additional data. I'm using NodeJS and ExpressJS as my backend framework. The route for posting images: router....
ANONYMOUS's user avatar

1
2 3 4 5
10