How to start project using another platform

I tried to run expo start --web first. And then later I wanted to run expo for ios or android. But, I can’t stop expo to build expo web. I expect that it is because of kind of caches. Anybody can help me to solve this problem?

expo diagnostics results:
Expo CLI 3.21.12 environment info:
OS: macOS 10.15.5
Shell: 5.7.1 - /bin/zsh
Node: 12.18.1 - ~/.nvm/versions/node/v12.18.1/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.5 - ~/.nvm/versions/node/v12.18.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Android Studio: 4.0 AI-193.6911.18.40.6514223
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
expo: ~38.0.1 => 38.0.3
react: ~16.11.0 => 16.11.0
react-dom: ~16.11.0 => 16.11.0
react-native-web: ~0.11.7 => 0.11.7
expo-cli: 3.21.12

1 Like

+1. Absolutely the same. Does anybody know how to switch from web to mobile?

Finally found the fix.
To make it work in a proper way you should open app.json and specify the platforms.
"platforms": ["ios", "android", "web"]

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.