Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading '_call') #24

Open
mhamzasani opened this issue Jan 12, 2024 · 0 comments
Open

Cannot read properties of undefined (reading '_call') #24

mhamzasani opened this issue Jan 12, 2024 · 0 comments

Comments

@mhamzasani
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant