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
@aws-sdk/client-quicksight package currently sits as a dev dependency of this package. However when amazon-quicksight-embedding-sdk is added and imported into a project, for example an angular application, it raises an error stating that @aws-sdk/client-quicksight is nowhere to be found.
Temporary fixes
I've identified two alternatives for a fix:
tsconfig with compilerOptions's skipLibCheck set to true, however it can be a controversial change, due to removing the capacity of the typescript compiler identify possible type problems in the project dependencies.
Add @aws-sdk/client-quicksight to the project dependencies, however it adds an unnecessary dependency that should've been covered by amazon-quicksight-embedding-sdk.
Propose a fix
Yes
The text was updated successfully, but these errors were encountered:
manueltarouca
changed the title
@aws-sdk/client-quicksight should be a peer depedency
@aws-sdk/client-quicksight is a dev dependency, causing build errors
Feb 22, 2024
Issue
@aws-sdk/client-quicksight
package currently sits as a dev dependency of this package. However whenamazon-quicksight-embedding-sdk
is added and imported into a project, for example anangular
application, it raises an error stating that@aws-sdk/client-quicksight
is nowhere to be found.Temporary fixes
I've identified two alternatives for a fix:
tsconfig
withcompilerOptions
'sskipLibCheck
set to true, however it can be a controversial change, due to removing the capacity of the typescript compiler identify possible type problems in the project dependencies.@aws-sdk/client-quicksight
to the project dependencies, however it adds an unnecessary dependency that should've been covered byamazon-quicksight-embedding-sdk
.Propose a fix
Yes
The text was updated successfully, but these errors were encountered: