Perbarui NodeJS Mac
sudo npm cache clean -f
sudo npm install -g n
sudo n stable/lts
Curious Coyote
sudo npm cache clean -f
sudo npm install -g n
sudo n stable/lts
node -v
OR
node --version
$ node -v