appwrite / sdk-for-cli

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

No win x64 download for 0.17.1 #38

Closed CEbbinghaus closed 1 year ago

CEbbinghaus commented 2 years ago

For some reason, the 1.17.1 release has no x64 version that can be downloaded. This causes the install.ps1 script to fail when trying to download the executable.

Welcome to the Appwrite CLI install shield.
[1/4] Getting System Info ...
[2/4] Downloading Appwrite CLI binary ...
???? Fetching latest version ...
Invoke-WebRequest : The remote server returned an error: (404) Not Found.
At line:62 char:7
+       Invoke-WebRequest -Uri $GITHUB_x64_URL -OutFile $APPWRITE_DOWNL ...
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

New-Item : An item with the specified name C:\Users\cebbi\AppData\Local\Appwrite already exists.
At line:65 char:5
+     New-Item -ItemType Directory -Path $APPWRITE_INSTALL_DIR
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceExists: (C:\Users\cebbi\AppData\Local\Appwrite:String) [New-Item], IOException
    + FullyQualifiedErrorId : DirectoryExist,Microsoft.PowerShell.Commands.NewItemCommand

Move-Item : Cannot find path 'C:\Users\cebbi\AppData\Local\Temp\appwrite.exe' because it does not exist.
At line:66 char:5
+     Move-Item $APPWRITE_DOWNLOAD_DIR $APPWRITE_INSTALL_PATH
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\cebbi\...mp\appwrite.exe:String) [Move-Item], ItemNotFoundExce
   ption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.MoveItemCommand

[3/4] Starting installation ...
Skipping to add Appwrite to User Path.
Cleaning up mess ...
[4/4] Finishing Installation ...
Cleaning up mess ...
???? May the force be with you.
To get started with Appwrite CLI, please visit https://appwrite.io/docs/command-line
cybr-dev commented 2 years ago

I encounterd the same problem

grisoftumut commented 2 years ago

I have same problem on my windows computer

stnguyen90 commented 2 years ago

There was a problem with the 0.17.1 release. The file should be available for version 0.18.1 now. Can you try again?

stnguyen90 commented 1 year ago

This should be resolved now. Please feel free to comment if there are any issues.