I ran into a problem as posted here , and reported that the cause might be the nodejs version.
As shown below, the node version is fine.
$node -v
v7.2.0
But this gives me an abnormal version of the root user that is used by the crontab process.
$sudo su
$node -v
v0.10.42
I tried $n rm 0.10.42or $n 7.2.0failed many times to fix the problem
Can anyone help? I want the crontab process to use the correct version of nodejs.
source
share