
After upgrading Appwrite CLI to 2.0.0 all commands fails with the below error message. Installation of Appwrite CLI was done through npm.
"/usr/local/lib/node_modules/appwrite-cli/lib/commands/console.js:13
const console = new Command("console").description(commandDescriptions['console']).configureHelp({
^
TypeError: (intermediate value).description(...).configureHelp is not a function
at Object.<anonymous> (/usr/local/lib/node_modules/appwrite-cli/lib/commands/console.js:13:84)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at Module.require (node:internal/modules/cjs/loader:1157:19)
at require (node:internal/modules/helpers:119:18)
at Object.<anonymous> (/usr/local/lib/node_modules/appwrite-cli/index.js:18:21)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
Node.js v19.9.0"

Thanks for raising this!
Btw, it's best to use 3 back ticks with multi-line code. See https://www.markdownguide.org/extended-syntax/#syntax-highlighting

Thanks for sharing, let me look into this

I'm too having this issue

Looks like a bug with missing descriptions...we'll look into fixing it ASAP

Didn't know Discord supported multi-line, it's now been added. 🙂

Thanks for the update!

we have a PR in: https://github.com/appwrite/sdk-generator/pull/642! Hoping to release soon

It looks like it has been merged. When is this going online?

New version (2.0.2) has been released!

[Solved] Appwrite CLI throws TypeError After upgrading to 2.0.0

[SOLVED] Appwrite CLI throws TypeError After upgrading to 2.0.0
Recommended threads
- Migration from Selfhosted to Selfhosted-...
Hi, i am trying to migrate from one self hosted instance (1.7.4) to another one (1.7.4) via the migration tool. I've tried repeatly, but it won't import all doc...
- Devops and migration schemas management ...
Anyone has suggestions on migration management with appwrite I am going to have one app that will have different isolated deployment. So I need to have updated...
- Invalid `queries` param: Queries must be...
I dont really understand why i am having this issues, ```import { Client, Users, Query } from 'node-appwrite'; export default async ({ req, res }) => { con...
