Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: After installing cli tryed to check version but getting error on all commands #6089

Closed
2 tasks done
ShridharBanavasi1997 opened this issue Aug 31, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@ShridharBanavasi1997
Copy link

👟 Reproduction steps

Nott able to run any of teh apperite command after installing appwerite cli

on install i got like this :

 sudo npm install -g appwrite-cli

added 76 packages in 8s

16 packages are looking for funding
  run `npm fund` for details

👍 Expected behavior

Version number shoud have been displayed

👎 Actual Behavior

usr/local/lib/node_modules/appwrite-cli/lib/commands/assistant.js:13
const assistant = new Command("assistant").description(commandDescriptions['assistant']).configureHelp({
                                                                                         ^

TypeError: (intermediate value).description(...).configureHelp is not a function
    at Object.<anonymous> (/usr/local/lib/node_modules/appwrite-cli/lib/commands/assistant.js:13:90)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/appwrite-cli/index.js:18:23)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)

Node.js v18.17.1

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

Linux mint

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@ShridharBanavasi1997 ShridharBanavasi1997 added the bug Something isn't working label Aug 31, 2023
@istornz
Copy link

istornz commented Aug 31, 2023

Exactly same error ...
I'm on macOS

Tried to install from npm & brew: same issue...

@fballan93
Copy link

Im having the same exact error i tried on windows 11 , Macos sanoma , Macos ventura

@joeyouss
Copy link

Hi @ShridharBanavasi1997 , closing this in favor of appwrite/sdk-for-cli#92

Please keep an eye on the linked issue for updates. Thank you for reporting this!

@stnguyen90 stnguyen90 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants