[SOLVED] Error in `Publishing` without error message

i’m having trouble with publish/build without any clue what is happening it only show a red {}

but when running expo build:ios --release-channel staging --no-publish everything goes smoothly

here is my expo diagnostics

  Expo CLI 2.11.6 environment info:
      OS: Linux 4.18 Pop!_OS 18.10
      Shell: 5.5.1 - /usr/bin/zsh
      Node: 10.12.0 - ~/.nvm/versions/node/v10.12.0/bin/node
      Yarn: 1.12.3 - /usr/bin/yarn
      npm: 6.4.1 - ~/.nvm/versions/node/v10.12.0/bin/npm
      expo: ^32.0.0 => 32.0.6 
      react: 16.5.0 => 16.5.0 
      react-native: https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz => 0.57.1 
      react-navigation: ^3.0.9 => 3.3.2 
      expo-cli: 2.11.6

I dived in the source code of expo-cli and further in i managed to extract this error in xdl

{ XDLError: {}
    at Object.<anonymous> (/xdl@53.1.3/src/detach/ExponentTools.js:213:15)
    at Generator.next (<anonymous>)
    at step (/home/cynder/.nvm/versions/node/v10.12.0/lib/node_modules/expo-cli/node_modules/xdl/build/detach/ExponentTools.js:249:191)
    at /home/cynder/.nvm/versions/node/v10.12.0/lib/node_modules/expo-cli/node_modules/xdl/build/detach/ExponentTools.js:249:361 code: 'INVALID_JSON', isXDLError: true }

I checked my JSON files and found out that there is a dangling comma in one of the files, I removed it. and everything went back to normal

1 Like

Nice digging, @periabyte!