Error trying to install Calabash sandbox on Windows

Trying to run this in Windows Powershell:

PS C:> (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/calabash/install/master/install-windows.ps1") | iex

Preparing Ruby ruby-2.1.6-p336...
iex : You cannot call a method on a null-valued expression.
At line:1 char:133

  • ... ubusercontent.com/calabash/install/master/install-windows.ps1") | iex
  • ~~~
    • CategoryInfo : InvalidOperation: (:) [Invoke-Expression], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull,Microsoft.PowerShell.Commands.InvokeExpressionCommand

There seems to be an error in the script.. any fix to this???

Tagged:

Best Answer

Answers

  • SueGrinnellSueGrinnell USUniversity ✭✭

    I am also experiencing this on multiple Windows 10 machines. Definitely a show stopper.

  • SueGrinnellSueGrinnell USUniversity ✭✭

    The new script works great, Chris. Thanks!

  • The new script didn't work 404 error downloading. I am using Win7 64bit
    PS C:> (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/calabash/install/windows/don
    et_unzip/install-windows.ps1") | iex
    Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (404) Not Found."
    At line:1 char:49

    Also an error with the old script
    PS C:> (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/calabash/install/master/inst
    all-windows.ps1") | iex
    Add-Type : Cannot add type. The assembly 'System.IO.Compression.FileSystem' could not be found.
    At line:1 char:9

    • Add-Type <<<< -AssemblyName System.IO.Compression.FileSystem
      • CategoryInfo : ObjectNotFound: (System.IO.Compression.FileSystem:String) [Add-Type], Exception
      • FullyQualifiedErrorId : ASSEMBLY_NOT_FOUND,Microsoft.PowerShell.Commands.AddTypeCommand
  • nblittenblitte USMember
    edited May 2016

    As this post is already answred, I create a new one.

  • RisheetThankiRisheetThanki USMember

    I am also experiencing issues when trying to install the calabash sandbox on my W7 x64 Enterprise machine.

Sign In or Register to comment.