Rank 1: Thread
I created it with the usual npm init vue@latest
Votes
1
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
I created it with the usual npm init vue@latest
Rank 1: Thread
choosing all yes except JSX, Vitest and Cypress
Okay,
Rank 1: Thread
The problem persists even by removing "module": "ESNext" from tsconfig.node.json.
By the way, the app runs fine! The problem is with the IDE: I get no autocomplete and everything from appwrite is 'any' type
Ohh
It's interesting, because Appwrite has typescript
Rank 1: Thread
The error is only in the IDE
Rank 1: Thread
I know it has typescript, I remember it had it since 0.6 right?
Rank 1: Thread
That's why I was confused 🤔
Rank 1: Thread
Thanks a lot for the time you're taking to help, I appreciate it
I don't know since when, but yes they have
Rank 1: Thread
The project is brand new, I haven't changed any config of the originally generated ones
Okay, I've tested in my computer
In your tsconfig.app.json add "moduleResolution": "node", inside compilerOptions like so:
{ "extends": "@vue/tsconfig/tsconfig.dom.json", "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], "exclude": ["src/**/__tests__/*"], "compilerOptions": { "moduleResolution": "node", "composite": true, "baseUrl": ".", "paths": { "@/*": ["./src/*"] } }}Let me know if it solves the problem
Rank 1: Thread
Unfortunately this didn't solve the problem, I wish I could give you more info but the error is exactly the same
I was able to have the same error as you
When adding this line in the tsconfig.app.json file it changes.
Maybe you can try to restart your IDE?
Rank 1: Thread
wait sorry I just tried the tsconfig.node.js file! let me try the tsconfig.app.json one, makes sense
Rank 1: Thread
It worked, thanks a lot!! 
Rank 1: Thread
[Solved] Could not find a declaration file for module 'appwrite'
Rank 1: Thread
[SOLVED] Could not find a declaration file for module 'appwrite'
FYI, this was raised recently: https://github.com/appwrite/sdk-for-web/issues/54
Can someone help me with this? This all is for Vue. Can someone help me with nextjs. When i am using this, i am not able to use Client, Databases etc
it's pretty much the same if you're using TS. Just head to the tsconfig.json file and change moduleResolution to "node"
Okay thanks