Open simonramosb opened 2 months ago
@simonramosb, thank you for opening this issue. Just to confirm, is this a Gen2 app that you're experiencing this in?
Hey @cwomack! Thanks for your reply. No, the last team used this library just for handling connections to an appsync endpoint. Why? I dont really know haha. I'm here just for the typescript version, cause i can't upgrade angular.
@simonramosb, can you clarify if you are trying to create a Gen 2 app in this migration and do you have the aws-cdk-lib
package under your dev dependencies (alternatively, you could share your package.json
as well)?
Before opening, please confirm:
JavaScript Framework
Angular
Amplify APIs
GraphQL API
Amplify Version
v6
Amplify Categories
api
Backend
Other
Environment information
Describe the bug
I'm migrating an app made with ionic and angular, to newer versions (v17, where i need typescript >= 5.2.0). Everything seems fine, until i built.
I had lots of these errors, with the
@aws-amply/plugin-types
package. (Detailed in log output section)I found out that is a dependency of @aws-amplify/data-schema-types![image](https://github.com/aws-amplify/amplify-js/assets/64170232/d15cce16-f22c-48a8-bf96-159dac48431e)
yarn.lock
screenshot:If i rollback to typescript
4.9.5
everything works fine, but its not compatible with angular v17.Thanks in advance for reading my issue, any ideas or possible hacks will be highly appreciated :)
Expected behavior
Correct build
Reproduction steps
Code Snippet
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