Issue upon expo publish (Metro Bundler internal error / xdl)

Facing this bug upon running expo publish.

Tried these:

  • restarting command prompt and computer
  • reinstalling expo-cli
  • reinstalling dependencies

I’m using a Windows 10 machine. The publish command works on a Macbook, on the same codebase.

C:\Users\itsarnavb\workspace\appname>expo publish
Publishing to channel 'default'...
Building iOS bundle
Metro Bundler has encountered an internal error, please check your terminal error output for more details
Cannot read property 'status' of undefined
TypeError: Cannot read property 'status' of undefined
    at C:\xdl@53.3.0\src\Project.js:160:70
    at Generator.throw (<anonymous>)
    at step (C:\Users\itsarnavb\AppData\Roaming\npm\node_modules\expo-cli\node_modules\xdl\build\Project.js:2371:191)
    at C:\Users\itsarnavb\AppData\Roaming\npm\node_modules\expo-cli\node_modules\xdl\build\Project.js:2371:402
    at process._tickCallback (internal/process/next_tick.js:68:7)

Hey @itsarnavb,

Can you run expo diagnostics and paste the log thats printed out here?



  Expo CLI 2.13.0 environment info:
      OS: Windows 10
      npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
      Android Studio: Version AI-182.5107.16.33.5199772

I’m using Expo 32, with these packages

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