Questions tagged [expo-web]

Expo is a set of tools and services for building, deploying, and quickly iterating on native iOS, Android, and web apps from the same codebase. Use this tag for questions that are specific to web apps.

See Getting to know Expo and Using Expo for web.

47 questions
13
votes
3 answers

Change border color of TextInput when focused in react-native-web (expo)

In the last versions of Expo there is a Web support. In the picture you see a normal TextInput created with React Native & rendered in the Web. How can I change the color of the TextInput Border that is activated on focus? You see an orange border…
Arbnor
  • 2,190
  • 18
  • 26
10
votes
2 answers

How to override React native web pre defined css

I'm Converting my expo app to react-native-web, I have an issue when I'm showing Image. by default react-native-web adding a class to Image with position:absolute. I want to override that class, here is my code. React-native Code
zulqarnain
  • 1,536
  • 4
  • 26
  • 44
5
votes
1 answer

Expo react native web gives error import scoped imports

I have a project which is react-native-web, and the expo is configured on it. The stating script has scoped imports @. I see that metro.config.js has aliases for those imports for which expo web is complaining, here is metro.config.js : /** * Metro…
Maverick
  • 2,738
  • 24
  • 91
  • 157
5
votes
0 answers

Debugging Expo web in vscode

I am trying to debug a React Native code running on Expo web locally using vscode. I tried these configurations in launch.json: { "command": "npm start", "name": "Run npm start", "request": "launch", "type":…
MBZ
  • 26,084
  • 47
  • 114
  • 191
4
votes
1 answer

Deploy Expo React Native Web app to a subfolder

How can I have my mobile app also work when deployed to a web server in a subfolder? I'm trying to create a universal app (native devices and web) using Expo and its create-expo-app boilerplate, which uses React Native and React Native for Web. When…
Byron
  • 309
  • 1
  • 8
4
votes
3 answers

How To Have Expo Web Open In A Web Browser With Localhost?

Running npm start or expo start launches the project as follows: React You can now view My React Native App in the browser. Local: http://localhost:19006/ On Your Network: http://157.201.29.49:19006/ Note that the development…
Max MacLeod
  • 26,115
  • 13
  • 104
  • 132
3
votes
0 answers

expo failed to compile using when running in web browser?

I am a Linux user. I tried to run project in web browser but I am getting this error: Failed to compile. ./node_modules/@twotalltotems/react-native-otp-input/dist/index.js 133:20 Module parse failed: Unexpected token (133:20) You may need an…
Yilmaz
  • 35,338
  • 10
  • 157
  • 202
3
votes
1 answer

Get path to Screen from its name, to use with useLinkProps

I have a mobile app with Expo. To move from one screen to the other, I use react-navigation's navigation.navigate(SCREEN_NAME) I am building the web version of this app and would like my buttons to be links, instead of using navigate. This way,…
Ryan Pergent
  • 4,432
  • 3
  • 36
  • 78
3
votes
3 answers

Module not found: Error: Can't resolve '../aws-exports' (React-Native Expo Web)

I've developed an app which works perfectly when I run it through expo start --tunnel and then the w key for expo web. In order to deploy it, I have tried to use the Amplify console, which seemed to work. However, while deploying the app, it has…
rdrgtec
  • 592
  • 10
  • 26
3
votes
3 answers

How To Start Expo Web In A Specific Browser?

On my Mac, I have Chrome, Firefox, and Safari installed. Safari is set as the default system browser. Launching expo web using; expo start -w works. However, it launches the URI in Chrome rather than Safari. If I delete the Chrome browser, expo…
Max MacLeod
  • 26,115
  • 13
  • 104
  • 132
2
votes
2 answers

BREAKING CHANGE: The request './dist/abort-controller' failed to resolve only because it was resolved as fully specified

i've upgraded my expo version to sdk 48 and now my webpack is not working and its showing m Module not found: Can't resolve './dist/abort-controller' Did you mean 'abort-controller.mjs'? BREAKING CHANGE: The request './dist/abort-controller'…
mingmingming
  • 345
  • 2
  • 4
  • 12
2
votes
0 answers

How to make responsive screen for web in expo react native

Now. I am Using react-native-responsive-screen. its working fine for mobiles. But Now I want to run website also from same code base. but in website width is so much stretched . means width = wp('90%'). its looking so much wide on website on…
user14877357
2
votes
1 answer

Error while running web version of react-native project web version via expo. The message is - Failed to compile /Libraries/StyleSheet/processColor.js

When i try to run react-native project via expo I get this error E:/reacrNative23april/firestoreTester26April/node_modules/react-native/Libraries/StyleSheet/processColor.js Module not found: Can't resolve '../Utilities/Platform' in…
grifterXcode
  • 109
  • 2
  • 6
2
votes
2 answers

Splash Screen not visible from AppLoading

import React from "react"; import AppLoading from "expo-app-loading"; export default function App() { return ; } Isn't the above code supposed to show the splash screen to me? All I get is a white screen. Would really appreciate…
alpha_ulrich
  • 536
  • 5
  • 21
2
votes
0 answers

Draggable flatlist for React Native WEB

I'm using this (react-native-draggable-flatlist) library to implement a draggable flat list in React Native and React Native Web using EXPO, natively it works perfectly, but on the web it has some problems, has anyone managed to implement it…
1
2 3 4