
in appwrite.js, ```js import { Client, Databases, Account } from "appwrite";
TypeScript
doesnt work.
TL;DR
Developers are trying to import from the "appwrite" package in their project but it's not working. They are following a guide from appwrite.io and shared their `package.json`. Another developer asked if they are using webpack or vite.
**Solution:** The issue might be related to the module system being used. Ensure proper module resolutions are configured based on the build tool being used (like webpack or vite).
I'm using the following guide:

Heyy 👋 Can you share your package.json
with me? Im trying to see if you are using webpack, vite, or anything similar

hiiiiiiiiiii

TypeScript
{
"name": "fresher-project",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"appwrite": "^14.0.1",
"body-parser": "^1.20.3",
"express": "^4.21.2",
"node-appwrite": "^14.1.0",
"sqlite3": "^5.1.7"
}
}

cool name btw
Recommended threads
- Invalid document structure: Unknown attr...
I have an attribute, who I deleted but it still gives error saying that Invalid document structure: Unknown attribute: "financialAidAvailable". Because of which...
- Image Loading issue in Snapgram project
Hello community, I have a issue with the Image Loading I made a Project from youtube of Snapgram, it worked perfectly 8 months ago, but now the images aren't l...
- No Targets Created For Email OTP Users
I use OTP for my users. All emails are verified. No one has their email as a target. What am I doing wrong? The documentation says the targets should be created...
