What actually happens?
node node_modules\.bin\react-native bundle --assets-dest C:\Users\Leonardo\AppData\Local\Temp\code-push2020219-13780-10hnpfi.czeo\CodePush --bundle-output C:\Users\Leonardo\AppData\Local\Temp\code-push2020219-13780-10hnpfi.czeo\CodePush\index.android.bundle --dev false --entry-file index.js --platform android
C:\Users\Leonardo\guiam
aisgv\node_modules\.bin\react-native:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at wrapSafe (internal/modules/cjs/loader.js:1055:16)
at Module._compile (internal/modules/cjs/loader.js:1103:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1159:10)
at Module.load (internal/modules/cjs/loader.js:988:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
Error: Failed to release a CodePush update.
There's someone who solved that?
@Adr1ann, apparently there is no one interested in the problem, but it has not yet been solved, I have already tested it on other machines and the problem persists
same error here :(
node node_modules\.bin\react-native bundle --assets-dest C:\Users\User\AppData\Local\Temp\code-push2020223-20420-rrzu27.z2erp\CodePush --bundle-output C:\Users\User\AppData\Local\Temp\code-push2020223-20420-rrzu27.z2erp\CodePush\index.android.bundle --dev false --entry-file index.js --platform android
D:\mlpocketguidemagichesst
d\node_modules\.bin\react-native:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at Module._compile (internal/modules/cjs/loader.js:872:18)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
at internal/main/run_main_module.js:17:11
Error: Failed to release a CodePush update.
Possible duplicate with https://github.com/microsoft/react-native-code-push/issues/1813.
I am using appcenter code push in a CI/CD pipeline, and it works when using ubuntu but not when using windows. Getting the same exception as you guys when I'm trying to run it locally.
Getting the same error - anyone figure this out yet?
https://github.com/microsoft/appcenter-cli/issues/759#issuecomment-601322412 maybe can help
I rolled back t version 2.3.3
npm install [email protected] -g
And it is working again - thanks @mhmdiqbal
installing version 2.3.3 solves the problem
This appears to be a duplicate of https://github.com/microsoft/react-native-code-push/issues/1813. Please refer there for on-going investigations into this issue with App Center CLI v3.0.0.
using code-push i was succesfully
code-push release-react your-app android -d Development
Most helpful comment
same error here :(