Open Sanchitbajaj02 opened 9 months ago
You can add peer dependencies to package.json file or (optional) locally remove the Appwrite installation of user and let yours be installed.
Actually we are not sure how peer dependency works. Currently, the package itself has a node-appwrite installed. We want to use the appwrite instance that user already initialized. If we can access that, we will directly parse the appwrite classes instead of schema object that we create
Currently the package
node-appwrite
is added as a dependency in this package but the if the appwrite is already installed in the user system, it will just be installed multiple times.To fix this issue, a peer dependency configuration is required so that this package utilizes the user installed package