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
- Framework categorization for Sites
Hello, I want to deploy my web app via Appwrite SItes. My web app is vite+reactjs. In the Appwrite docs, it creates a vite+react app, and chooses React from the...
- How to use Appwrite MCP on Claude Deskto...
Hello I'd like to use the Appwrite MCP with Claude Desktop and have set up the connector, but asking questions about my Appwrite instance does not work. Any ide...
- Impossible to create project via CLI?
Is it possible to create a new project via the appwrite CLI ? I need to create a few projects for something I'm working on and because i don't want to do it man...