appwrite / sdk-for-web

[READ-ONLY] Official Appwrite Web SDK 🧑

Home Page:https://appwrite.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› Bug Report: Cannot find module 'appwrite' or its corresponding type declarations.ts(2307) in Angular project

tobang opened this issue Β· comments

πŸ‘Ÿ Reproduction steps

I have an Angular project version 14.2.0. Installing the new version 10.0.0 gives the following error:
Cannot find module 'appwrite' or its corresponding type declarations.ts(2307)
Worked with previous 9.0.2 version.
Looked in node_modules/appwrite folder, and types folder is missing. It was present i previous version.

πŸ‘ Expected behavior

Types should be present and no error in code.

πŸ‘Ž Actual Behavior

Module import error.

🎲 Appwrite version

Different version (specify in environment)

πŸ’» Operating system

MacOS

🧱 Your Environment

No response

πŸ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏒 Have you read the Code of Conduct?

@tobang, thanks for raising this issue! πŸ™ The issue should be fixed in 10.0.1 now. Would you please try with that version?

I can confirm that it now works πŸ˜€, thank you.