luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

powershell script error #204

Closed zatnas closed 7 years ago

zatnas commented 7 years ago

C:\Users\USER_NAME\luvit>make "Building lit" Downloading https://github.com/luvit/luvi/releases/download/v2.7.6/luvi-regular-Windows-amd64.exe to luvi.exe Downloading https://lit.luvit.io/packages/luvit/lit/v3.4.5.zip to lit.zip

Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (502) Bad Gateway."
At line:25 char:3
+   $downloader.DownloadFile($url, $file)
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

C:/Users/tim/luvi/src/lua/luvibundle.lua:277: ERROR: C:\Users\USER_NAME\luvit\lit.zip is not a zip file or a folder

Remove-Item : Cannot find path 'C:\Users\USER_NAME\luvit\lit.zip' because it does not exist.
At line:35 char:1
+ Remove-Item "lit.zip"
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\USER_NAME\luvit\lit.zip:String) [Remove-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
At line:37 char:1
+ Start-Process "lit.exe" -ArgumentList "make lit://luvit/luvit luvit.e ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

"Building luvit" 'lit.exe' is not recognized as an internal or external command, operable program or batch file.

C:\Users\USER_NAME\luvit>

creationix commented 7 years ago

It's because the lit server was down. Try again.