Hello, i'm following the next.js tutorial in the docs, and when i log in it creates the user but returns this error:
Uncaught (in promise) TypeError: _appwrite__WEBPACK_IMPORTED_MODULE_2__.account.createEmailPasswordSession is not a function
That method will be newly introduced in 1.5 which isn't out yet. For the current version and older you'll want to use this instead https://appwrite.io/docs/references/1.4.x/client-web/account#createEmailSession
ah, thank you!
is there a way to install 1.5 yet or no
Nope, Not yet
Not currently, but it's due to be released at some point this month
Soon 🙂
very soon
👍👍👍 thanks!!
If you want to run it for testing you can
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Paused project can't activate
I have failed to reactivate one my projects which had been paused