Web Developer
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
}]
Thank you