
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
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
