15

I tried to build jitsi meet based on react-native but it stucks in bundleReleaseJsAnd assets and then throw this error :

Process 'command 'node'' finished with non-zero exit value 1
ali mardani
  • 315
  • 1
  • 5
  • 13

5 Answers5

1

Just kill node process and repeat the build process.

Bruno Araujo
  • 322
  • 3
  • 12
1

I solved the problem in my Putting

project.ext.react = [
     entryFile: "index.js"
]

In App build.gradle

1

Okay so to clarify Sumakh's answer -- this happened to me because I had a build error in my app's JavaScript code. Ergo the build step invoking node to build the runtime bundle threw an exception. To find the script error, there are a couple of options:

  • I ran eslint against my JS sources, which identified the error, then fixed it, and was off to the races.
  • After the fact, though, I realized that IntellJ (where I was editing the JS code) had been warning me about the syntax error (showing the red squiggly underline on the file in question)
  • If you have a pre-existing working runtime, you could also try running the current state of the JS code in your simulator, and it should throw an exception showing you where the bad code is.
Tim Keating
  • 5,636
  • 4
  • 41
  • 51
1

In my case I had error in React Native side, I fixed it and I was able to generate bundle

-1

This is because of code style for jshint errors in your HTML files. Use IDE which supports HTML files, and shows errors in HTML if any. Sometimes, errors in the HTML will still work in browser, but build will fail.

Sumukh Bhandarkar
  • 366
  • 1
  • 5
  • 13