» npm install expo-web-browser
Videos
» npm install @use-expo/web-browser
» npm install expo-web-browser-mollie
It is no longer supported.
Update July 25, 2022: [email protected] has been released with the web UI removed. The last release to include the web UI is [email protected].
learn more
To fix, launch expo directly as follows supplying the localhost option:
expo start —-localhost
See Expo CLI docs for expo start:
--localhost Same as --host localhost
New to RN and learning using a tutorial.
In the tutorial he is able to view the apps output in his Chrome browser.
When he executes npm start the browser open with Metro Bundler that allows for the apps output to be shown in the browser.
But I am not able to do so and get the following error,
CommandError: It looks like you're trying to use web support but don't have the required dependencies installed. Please install react-native-web@~0.18.9, [email protected], @expo/webpack-config@^0.17.2 by running: npx expo install react-native-web@~0.18.9 [email protected] @expo/webpack-config@^0.17.2 If you're not using web, please ensure you remove the "web" string from the platforms array in the project Expo config.
I installed the dependencies but still no luck.
However, when I tried running it on the Android simulator and it works fine.
My problem is that my laptop's hardware is a outdated and the Android simulator takes a long time to get running with processor hitting 100% usage.
What can I do?
Also, I am using the latest versions of node, npm, expo-cli, react and react native as checked with "npm outdated" command.