Resolve path.existsSync is now called `fs.existsSync`. error