Hello, I have asession not found
when I do an appwrite init project
The version of my appwrite -v
is
4.2.1
When I do appwrite login
I have a success when I go to the ~/.appwrite
folder in my prefs.json
I just have my endpoint which is
{"endpoint": "https://cloud.appwrite.io/v1"}
Can you help me please ?
Try delete the prefs.json
And re-login
always the same
That's interesting I see that the Client has changed to the latest version How've you installed the Appwrite CLI?
with brew
brew tap appwrite/sdk-for-cli https://github.com/appwrite/sdk-for-cli
brew update
brew install --HEAD appwrite
Try to uninstall it
brew remove appwrite
And install version 4.2.0
brew install appwrite@4.2.0
Then, try to login
If this doesn't work well try to uninstall it and install version 4.2.0
using NPM
npm install -g appwrite-cli@4.2.0
always the same
appwrite login
✓ Success
appwrite init project
Error Session not found. Please run appwrite login
to create a session.
And what version you've right now?
In
appwrite -v
4.2.1
Yes, Then, do this
it's good thx a lot
Great
👍
It might be good to open an issue on it noting version 4.2.1
was unable to create session
As version 4.2.1
changed the client from axios
to undici
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...