
I installed appwrite in the project I am working on and while using it for the first time it displays an error: import conf from '@/conf/config' import {Client, Account, ID} from 'appwrite'
Errors: 1-> [{ "resource": "----------/startingwithappwrite/src/appwrite/config.ts", "owner": "typescript", "code": "7016", "severity": 8, "message": "Could not find a declaration file for module 'appwrite'. 'c:/Users/ASUS/Desktop/Project/startingwithappwrite/node_modules/appwrite/dist/esm/sdk.js' implicitly has an 'any' type.\n There are types at 'c:/Users/ASUS/Desktop/Project/startingwithappwrite/node_modules/appwrite/types/index.d.ts', but this result could not be resolved when respecting package.json exports. The 'appwrite' library may need to update its package.json or typings.", "source": "ts", "startLineNumber": 2, "startColumn": 35, "endLineNumber": 2, "endColumn": 45 }]

In your tsconfig, change module resolution to node

OH!<:appwritefire:823999000330895380> Thank you

It was wonderful, I sent over an hour finding solution and booom!

[SOLVED] Error while getting Started with Next js and appwrite
Recommended threads
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
