This line should be change to
```
NODE=`which nodejs` || NODE=`which node`
```