PATH set in case node is not properly set up

This is not a perfect solution. Should be better to set
node_path=`which node`
node_path=${node_path%/*}
env PATH=$node_path

but it doesn't work. Even using script to execute bash it doesn't work.