Back

AppWrite Cli run error in macos 13.4.1

  • 0
  • Tools
joser
7 Sep, 2023, 00:51

Downloading Appwrite CLI 3.0.0 ... ➜ ~ appwrite 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) ➜ ~

TL;DR
The user encountered an error while trying to run AppWrite CLI version 3.0.0 on macOS 13.4.1. The error message indicates a TypeError in the code. The user also mentioned using Appwrite Cloud and asked if they can use a lower version of the CLI. The community advised the user to search for related issues and provided a link. No solution was provided in the thread.
Drake
7 Sep, 2023, 00:52
joser
7 Sep, 2023, 00:59

Thanks for your feedback. I saw a related problem saying that a fixed version will be released next week. Is there an accurate time for this?

Drake
7 Sep, 2023, 01:10

Possibly, we fixed this problem, but there's another problem we want to fix too

joser
7 Sep, 2023, 01:12

Currently I'm stuck using tools to create cloud methods, can I use a lower version of the CLI now?

Drake
7 Sep, 2023, 01:12

What version of Appwrite are you on?

joser
7 Sep, 2023, 01:15

3.0.0

Drake
7 Sep, 2023, 01:16

Appwrite, not the CLI

joser
7 Sep, 2023, 01:17

It should be up to date, I just followed the documentation to learn this framework the day before yesterday

Drake
7 Sep, 2023, 01:20

So 1.4.1?

joser
7 Sep, 2023, 01:23

YES

joser
7 Sep, 2023, 01:23

Where can I see this version?

Drake
7 Sep, 2023, 01:24

At the bottom of the Appwrite console

joser
7 Sep, 2023, 01:25

Now I use Appwrite Cloud

Drake
7 Sep, 2023, 01:26

Oh... Well that's on 1.1.2. Ideally, you should use 1.1.1 of the CLI, but you might be able to use 2.0.2

joser
7 Sep, 2023, 01:27

Ok, I'll try it.

Drake
7 Sep, 2023, 01:30

Keep in mind what's on the Appwrite docs right now (https://appwrite.io/docs/functions-develop) are for Appwrite 1.4 so they don't apply for cloud. If you use the 1.x/2.x CLI to initialize a function, you should have a starter template with comments that explain where variables are and how to return a response

joser
7 Sep, 2023, 01:33

When are you going to migrate your Cloud as a Service to version 1.4, otherwise the latest documentation will not be available

Drake
7 Sep, 2023, 01:35

Soon... We ran into hiccups with the 1.4 release so we've been working on resolving the problems before upgrading cloud

joser
7 Sep, 2023, 01:37

Thank you very much for your answer, the service you do is very good! I was still considering how to write the background service with the dart framework serverpod. Your framework directly solves my problem, and the key is to support many languages. There is no need to consider a specific background framework.

Drake
7 Sep, 2023, 01:40

Exactly! The developer experience is very important to us and we want people to be able to use the languages and frameworks they're most comfortable with

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more