Please provide the following:
- SDK Version: 45
- Platforms(Android/iOS/web/all): android/ios
When I run expo start --dev-client
, the metro bundler starts briefly and then crashes immediately with error:
Error: Must specify expo-platform header or query parameter
at getPlatformFromRequest (/Users/.../node_modules/xdl/src/start/ExpoUpdatesManifestHandler.ts:34:11)
at /Users/.../node_modules/xdl/src/start/ExpoUpdatesManifestHandler.ts:207:19
First time this error occurred, I updated expo-cli
to latest version. It seemed to have fix it. But this morning, I started again to observe this crash (out of nowhere). Any help would be greatly appreciated.
diagnostics
:
expo-env-info 1.0.3 environment info:
System:
OS: macOS 12.3.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.18.1 - /var/folders/fs/mgcn9dds60114gl150cz1fk40000gn/T/yarn--1652361275866-0.05031357544957604/node
Yarn: 1.22.15 - /var/folders/fs/mgcn9dds60114gl150cz1fk40000gn/T/yarn--1652361275866-0.05031357544957604/yarn
npm: 8.3.0 - ~/.nvm/versions/node/v14.18.1/bin/npm
Watchman: 2021.11.15.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7935034
Xcode: 13.2/13C5081f - /usr/bin/xcodebuild
npmPackages:
expo: ^45.0.0 => 45.0.1
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
react-native: 0.68.1 => 0.68.1
react-native-web: 0.17.7 => 0.17.7
npmGlobalPackages:
eas-cli: 0.52.0
expo-cli: 5.4.3
Expo Workflow: managed