bizon / selling-partner-api-sdk

A modularized SDK library for Amazon Selling Partner API (fully typed in TypeScript)
https://bizon.github.io/selling-partner-api-sdk/
MIT License
37 stars 7 forks source link

Types have separate declarations of a private property 'clientId'. #1053

Closed do4Mother closed 11 months ago

do4Mother commented 11 months ago

i get this error in my project. Types have separate declarations of a private property 'clientId'.

i have already installed for orders, catalog and listing api from @sp-api-sdk everything is working fine. but except with listings restrictions package.

i use same package version of authentication. which is version 2.0.2

Screenshot 2023-11-22 at 09 49 47
do4Mother commented 11 months ago

resolved by removing the node_modules package and the yarn.lock file and attempting to reinstall the package.

tusbar commented 11 months ago

This happens when you have different versions of @sp-api-sdk/auth – run yarn why @sp-api-sdk/auth to view them.

Can be fixed by installing the lastest version of each package.