Running an incorrect version of node could cause this, so check your node version is what you intended.