react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

CodePush Release fails if previous release processing was cancelled before completion

Open pgiki opened this issue 3 years ago • 0 comments

Steps to Reproduce

  1. run appcenter codepush release-react -a owner/app-android -d Production -m --description "Bug fix"
  2. Cancel the process before it finishes
  3. Repeat step 1 and the build fails

Expected Behavior

The build of the release to complete without issue

Actual Behavior

The release failed and an error below was shown

node node_modules/.bin/react-native bundle --assets-dest /tmp/code-push2022820-536-10jgrcc.1ip4/CodePush --bundle-output /tmp/code-push2022820-536-10jgrcc.1ip4/CodePush/index.android.bundle --dev false --entry-file index.js --platform android
warn Package rn-fetch-blob contains invalid configuration: "dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
Welcome to Metro!
              Fast - Scalable - Integrated
error dependencies is not iterable.
TypeError: dependencies is not iterable
    at resolveDependencies (/home/nobody/app/node_modules/metro/src/DeltaBundler/graphOperations.js:357:21)
    at processModule (/home/nobody/app/node_modules/metro/src/DeltaBundler/graphOperations.js:184:31)
    at async addDependency (/home/nobody/app/node_modules/metro/src/DeltaBundler/graphOperations.js:296:18)
    at async Promise.all (index 10)
    at async processModule (/home/nobody/app/node_modules/metro/src/DeltaBundler/graphOperations.js:236:3)
    at async addDependency (/home/nobody/app/node_modules/metro/src/DeltaBundler/graphOperations.js:296:18)
    at async Promise.all (index 3)
    at async processModule (/home/nobody/app/node_modules/metro/src/DeltaBundler/graphOperations.js:236:3)
    at async addDependency (/home/nobody/app/node_modules/metro/src/DeltaBundler/graphOperations.js:296:18)
    at async Promise.all (index 13)
info Run CLI with --verbose flag for more details.
Error: Failed to release a CodePush update.

Environment

  • react-native-code-push: "^7.0.5",
  • react-native version: 0.70.0-rc.3

pgiki avatar Sep 20 '22 15:09 pgiki