appwrite / sdk-for-cli

[READ-ONLY] Official Appwrite CLI >_
BSD 3-Clause "New" or "Revised" License
91 stars 26 forks source link

🐛 Bug Report: AppWrite CLI doesn't work after installation on Ubuntu 22.04.3 #106

Closed RomanVerkhovskii closed 8 months ago

RomanVerkhovskii commented 9 months ago

👟 Reproduction steps

The installation of AppWrite CLI on Ubuntu 22.04.3 both via install.sh script downloaded from https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/install.sh and via $npm install -g appwrite-cli results in uploading of AppWrite CLI version which doesn't work.

Screenshot from 2024-02-01 23-32-23

👍 Expected behavior

From my perspective, AppWrite CLI should work after the installation procedure.

👎 Actual Behavior

After the installation, I have an unexpected error at the execution of any AppWrite CLI commands. Screenshot from 2024-02-01 23-32-23 Screenshot from 2024-02-01 23-45-29 Screenshot from 2024-02-01 23-43-57

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

No response

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

🏢 Have you read the Code of Conduct?

stnguyen90 commented 9 months ago

@RomanVerkhovskii, thanks for raising this issue! 🙏🏼 You may be seeing this because your version of NPM/Node is too old. What version do you have installed?

RomanVerkhovskii commented 9 months ago

@stnguyen90 Hello Steven, thank you for your response, I have the following versions of npm/Node.js:

image

stnguyen90 commented 8 months ago

@RomanVerkhovskii, yes, version 12 is way too old and unsupported. Please make sure you have at least version 18.

stnguyen90 commented 8 months ago

Closing due to inactivity