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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...