
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
- Function gives unauthorized error when w...
I am on free tier. I have function that has three attributes: 1. A stand alone attribute (required) 2. A many to one relationship attribute 3. A many to man...
- Problem with login using Retool
I am using the Appwrite rest api to create an email session from Retool. My next api call is to create JWT. The call is failing because Retool is a closed envir...
- Appwrite sites 404
Hello ! When I add a subdomain to a deployed website, it gives me a 404 error on said domain thus making the SSL processus not working and im not able to acces...
