I upgrade to latest Expo CLI 2.19.2 and tried upgrade my expo application using SDK 33.
When I called expo start, i have a message saying:
Opening DevTools in the browser... (press shift-d to disable) error: unknown option `--assetPlugins'
Metro Bundler process exited with code 1 Set EXPO_DEBUG=true in your env to view the stack trace.
I tried to set EXPO_DEBUG=true on Mac but doesn't show any debugging details when running expo start again.
I found it i should called export EXPO_DEBUG=true
Here is additional message:
error: unknown option `--assetPlugins'
Metro Bundler process exited with code 1 Error: Metro Bundler process exited with code 1 at ChildProcess. (/@expo/[email protected]/src/Project.js:1598:16) at Generator.next () at step (/Users/simonlam/.nvm/versions/node/v11.6.0/lib/node_modules/expo-cli/node_modules/@expo/xdl/build/Project.js:2347:191) at /Users/simonlam/.nvm/versions/node/v11.6.0/lib/node_modules/expo-cli/node_modules/@expo/xdl/build/Project.js:2347:437 at new Promise () at ChildProcess. (/Users/simonlam/.nvm/versions/node/v11.6.0/lib/node_modules/expo-cli/node_modules/@expo/xdl/build/Project.js:2347:99) at ChildProcess.packagerProcess.once (/@expo/[email protected]/src/Project.js:1595:5) at Object.onceWrapper (events.js:276:13) at ChildProcess.emit (events.js:188:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
Be sure to also upgrade "react-native" to version 33.
yarn add react-native@https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz
Also check "jest-expo" has been updated and you change the "sdkVersion" in app.json to match SDK 33.