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
- Paused project can't activate
I have failed to reactivate one my projects which had been paused
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...