JavaScript Axios Response.data.pipe bukan fungsi

const { data } = await axios.get(url, { responseType: "stream" });
    data.pipe(fs.createWriteStream("sample.jpg"));
SAMER SAEID