-
Notifications
You must be signed in to change notification settings - Fork 7
Description
undefined:3
return this._bound._call(...args)
^
TypeError: Cannot read properties of undefined (reading '_call')
at new eval (eval at CyclicS3FSPromises (/var/task/node_modules/@cyclic.sh/s3fs/src/CyclicS3FSPromises.js:27:5), :3:20)
at file:///var/task/script.js:393:12
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:113:12)
Here's how I'm Initialising it:
import S3FS from '@cyclic.sh/s3fs/promises';
const s3Bucket = 'cyclic-tame....';
const s3Key = 'some_files/my_file.mp3';
const fs = new S3FS({ region: 'ap-southeast-1', bucket: s3Bucket });
Please help