You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'provider' of undefined
at StorageClass.<anonymous> (Storage.js:215)
at step (Storage.js:44)
at Object.next (Storage.js:25)
at Storage.js:19
at new ZoneAwarePromise (zone.js:891)
at push../node_modules/@aws-amplify/storage/lib/Storage.js.__awaiter (Storage.js:15)
at StorageClass.push../node_modules/@aws-amplify/storage/lib/Storage.js.StorageClass.list (Storage.js:212)
at S3AlbumComponentIonic.push../node_modules/aws-amplify-angular/dist/src/components/storage/s3-album-component/s3-album.component.core.js.S3AlbumComponentCore.getList (s3-album.component.core.js:47)
at S3AlbumComponentIonic.push../node_modules/aws-amplify-angular/dist/src/components/storage/s3-album-component/s3-album.component.core.js.S3AlbumComponentCore.ngOnInit (s3-album.component.core.js:39)
at checkAndUpdateDirectiveInline (core.js:18537)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When I use the following code snippet, I get a null pointer exception:
Exception:
It's failing at this line at Storage.js:
It seems config is pointing to the option parameter. To avoid this issue, I had to set the option parameter to an empty object:
However, still the images do not show up. Any idea?
The text was updated successfully, but these errors were encountered: