appwrite / sdk-for-web

[READ-ONLY] Official Appwrite Web SDK ๐Ÿงก
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
273 stars 59 forks source link

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

Closed tobang closed 1 year ago

tobang commented 1 year ago

๐Ÿ‘Ÿ 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?

๐Ÿข Have you read the Code of Conduct?

stnguyen90 commented 1 year ago

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

tobang commented 1 year ago

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