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 property 'timeout' of undefined #8

Open
cx5168 opened this issue Feb 12, 2020 · 1 comment
Open

Cannot read property 'timeout' of undefined #8

cx5168 opened this issue Feb 12, 2020 · 1 comment

Comments

@cx5168
Copy link

cx5168 commented Feb 12, 2020

const {
Aborter,
BlobURL,
BlockBlobURL,
ContainerURL,
ServiceURL,
StorageURL,
SharedKeyCredential,
uploadStreamToBlockBlob
} = require('@azure/storage-blob');
const ONE_MINUTE = 60 * 1000;
Aborter.timeout(30 * ONE_MINUTE)

error message:
Cannot read property 'timeout' of undefined TypeError: Cannot read property 'timeout' of undefined

why?

@sau-lanvy
Copy link

@cx5168 What blob package version are you using? v10 or v12? Make sure you are using v10 in package.json. So it will throw the timeout error message if the version is v12.

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

2 participants