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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- How to properly implement custom domain?...
- Site deployment does not work.
I can change a file, deploy, change does not take effect. Delete file in repo, push changes,deploy. Old file remains undeleted Duplicate file, rename it, push,...