path.exists is now called `fs.exists`. if you still want to use it, please check node version first.