typescript - TypeError: null değerinin özellikleri okunamıyor ('length' okunuyor) google cloud storage üzerinde
import { Storage, File, Bucket } from '@google-cloud/storage';
const Zip = require('zip-bucket');
const storage = new Storage();
const bucket = storage.bucket('bucket_name');
const zipper = Zip(storage);
const zipResult = await zipper({
fromBucket: 'bucket_name',
fromPath: `folder_name/`,
toBucket: 'bucket_name',
toPath: `new_file_name.zip`,
});
Hedef kovası ve kaynak kovası aynı. Bulut depolamada klasördeki tüm dosyaları ziplemeye ve dosyayı aynı kovaya kaydetmeye çalışıyorum.
İşte Google Cloud Run günlüklerinde hata
