Process 'command 'node'' finished with non-zero exit value 1
Asked Answered
H

5

17

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
Hege answered 27/6, 2018 at 6:46 Comment(1)
Do you have any solution for this?Breakthrough
C
3

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.
Cahoon answered 7/1, 2020 at 17:37 Comment(0)
K
2

I solved the problem in my Putting

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

In App build.gradle

Kreplach answered 10/4, 2019 at 22:49 Comment(1)
And what about hermes?Hurried
H
1

Just kill node process and repeat the build process.

Hewie answered 4/3, 2019 at 2:45 Comment(3)
how do you do that ?Rotatory
first identify process number after kill -9 <process-number>Hewie
and run ps -ax | grep node to check node process-numberMisgovern
C
1

Kill too many processes.

Restart your computer and try again:

yarn start
Carrington answered 3/1 at 12:3 Comment(1)
After trying every last nvm and node version question on SO, this was the only solution that worked for me - restart your computer!Derk
T
-4

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.

Tomfool answered 6/9, 2018 at 15:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.