userPackagerOpts.sourceExts is not iterable

Hi, i update to the last version of expo-cli (3.17.9) and i get the following error:

Expo DevTools is running at http://localhost:19002
Press d to open DevTools now, or shift-d to always open it automatically.
userPackagerOpts.sourceExts is not iterable
TypeError: userPackagerOpts.sourceExts is not iterable
    at startReactNativeServerAsync (/@expo/xdl@57.8.8/src/Project.ts:1799:73)
    at Object.startAsync (/@expo/xdl@57.8.8/src/Project.ts:2373:5)
    at action (/expo-cli@3.17.9/src/commands/start.ts:156:3)
    at /expo-cli@3.17.9/src/commands/start.ts:320:16
    at Command.<anonymous> (/expo-cli@3.17.9/src/exp.ts:85:7)

here the diagnostics:

  Expo CLI 3.17.9 environment info:
      OS: macOS 10.15.4
      Shell: 5.7.1 - /bin/zsh
      Node: 13.12.0 - /usr/local/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 6.14.4 - /usr/local/bin/npm
      Android Studio: 3.6 AI-192.7142.36.36.6241897
      Xcode: 11.4/11E146 - /usr/bin/xcodebuild
      expo: ^37.0.0 => 37.0.3
      react: 16.9.0 => 16.9.0
      react-native: => 0.61.4
      react-navigation: ^4.1.0 => 4.3.6
      expo-cli: 3.17.9

can you share your app.json? in particular, what do you have in sourceExts?

pushed a fix in expo-cli@3.17.10 sorry for the hassle

Thanks it works right now :tada:

1 Like

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