_appiumSupport.fs.createReadStream is not a function

hi everyone
when I want to open safari with appium i got this error :
Unable to launch WebDriverAgent because of xcodebuild failure: _appiumSupport.fs.createReadStream is not a function