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 'CloudStorageAccount' of undefined #5

Open
madhanagopalgit opened this issue Apr 7, 2018 · 0 comments
Open

Cannot read property 'CloudStorageAccount' of undefined #5

madhanagopalgit opened this issue Apr 7, 2018 · 0 comments

Comments

@madhanagopalgit
Copy link

Hi,

I am trying to save the video into Azure Container as a Blob, which was taken by camera using Nativescript-Videorecorder. I am using tns-android: 3.4.2

While trying to create azureStorage i am getting exception.

My command is:
let azureStorage = new NativeScriptAzureStorage('DefaultEndpointsProtocol=https;AccountName=XXXX;AccountKey=XXXXXX==');

Below is the Error:
JS: ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'CloudStorageAccount' of undefined
JS: TypeError: Cannot read property 'CloudStorageAccount' of undefined
JS: at new NativeScriptAzureStorage (file:///data/data/com.studentms.app/files/app/tns_modules/nativescript-azure-storage/nativescript-azure-storage.js:10:58)
JS: at file:///data/data/com.studentms.app/files/app/pages/activity/studentactivityAdmin.component.js:451:32
JS: at ZoneDelegate.invoke (file:///data/data/com.studentms.app/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:365:26)
JS: at Object.onInvoke (file:///data/data/com.studentms.app/files/app/tns_modules/@angular/core/bundles/core.umd.js:4156:37)
JS: at ZoneDelegate.invoke (file:///data/data/com.studentms.app/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:364:32)
JS: at Zone.run (file:///data/data/com.studentms.app/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:125:43)
JS: at file:///data/data/com.studentms.app/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:760:57
JS: at ZoneDelegate.invokeTask (file:///data/data/com.studentms.app/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:398:31)
JS: at Object.onInvokeTask (file:///data/data/com.studentms.app/files/app/tns_modules/@angular/core/bundles/core.umd.js:4147:37)
JS: at ZoneDelegate.invokeTask (file:///data/data/com.studentms.app/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:397:36)
JS: at Zone.runTask (file:///data/data/com.studentms.app/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:165:47)
JS: at drainMicroTaskQueue (file:///data/data/com.studentms.app/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:593:35)

Please help me to resolve this issue.

Regards
Madhan

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