Skip to content

🐛 Bug Report: configureHelp is not a function #93

@e1ke

Description

@e1ke

👟 Reproduction steps

I tried installing the appwrite CLI by script
https://appwrite.io/docs/command-line#installWithScript
with the following command
curl -sL https://appwrite.io/cli/install.sh | bash
The installation went successfull, I can see "May the force be with you"
After that i run appwrite -v and get an error thrown

👍 Expected behavior

It should display the appwrite version

👎 Actual Behavior

It actually shows an error in bootstrap.js:

appwrite -v                                                          
pkg/prelude/bootstrap.js:1740
      throw error;
      ^

TypeError: (intermediate value).description(...).configureHelp is not a function
    at Object.<anonymous> (/snapshot/sdk-for-cli/lib/commands/assistant.js:13:90)
    at Module._compile (pkg/prelude/bootstrap.js:1794:22)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at Module.require (pkg/prelude/bootstrap.js:1719:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/snapshot/sdk-for-cli/index.js:18:23)
    at Module._compile (pkg/prelude/bootstrap.js:1794:22)

same error on appwrite login

🎲 Appwrite version

Version 1.3.7
sdk-for-cli version 3.0.0 (released 1h ago)
on CLI version 3.0.0, I read the following info
This SDK is compatible with Appwrite server version 1.4.x. For older versions, please check [previous releases]
but i am not even able to connect to my appwrite server. Anyway, I will try version sdk-for-cli version 2.0.2 later this evening

💻 Operating system

Linux

🧱 Your Environment

I use Linux Pop!_OS 22.04 LTS x86_64
Kernel 6.2.6-76060206-generic

👀 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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions