Closed JoakimMellonn closed 1 year ago
Same issue for me. Any solutions?
Same issue for me. Any solutions?
As written in the description, I found a solution for when doing it locally.
Hi @JoakimMellonn 👋,
Thank you for opening this issue, I was able to reproduce it and are working with the team to address it.
We have fixed this issue in our latest release! Please upgrade to V 5.0.4 and let us know if you are still facing this issue!
Before opening, please confirm:
JavaScript Framework
Angular
Amplify APIs
Storage
Amplify Categories
storage
Environment information
Describe the bug
When running ´ng serve´ in my project after updating to Angular 15, I'm getting the following error message:
When running the site locally, I can fix the problem by changing the lines 47-51 in node_modules/@aws-amplify/storage/lib-esm/types/Storage.d.ts from:
to:
This isn't a problem when running it locally for development, but when I push it to Amplify Hosting, it just fails in the build step, with this same error.
My guess is that this happens because Angular 15 uses a newer version of TS, but tbh I don't really know much about this.
Expected behavior
Angular to launch without any error.
Reproduction steps
ng serve
.Code Snippet
https://github.com/JoakimMellonn/Angular-Test-Project
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response