-
Notifications
You must be signed in to change notification settings - Fork 955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flare-vm & boxstarter 3.0.0 doesn't support Chocolatey 2 (use of deprecated cinst) #456
Comments
I am running chocolatey version 2.0 |
Looks like the issue |
I have the same issue, you can run this command "Set-Alias -Name chocolatey -Value choco". |
cool, pretty simple! I just ended up deleting chocolatey and running $env:chocolateyVersion = '1.4.0' before the install script |
Setting the Alias fixed the issue for me however is now resulting in a call depth overflow. See error below. "Invoke-ChocolateyBoxstarter : The script failed due to call depth overflow.
Any idea how to resolve? |
Reinstalling chocolatey with version 1.4.0 should fix the issue. $env:chocolateyVersion = '1.4.0' Run this in powershell and run the install.ps1 script it should work |
This is caused by Boxstarter not being compatible with Chocolatey 2 (released few days ago) as it uses the deprecated (now removed) |
We should update the boxstarter version check after chocolatey/boxstarter#533 is released (it is already merged) |
Installing fails after clicking ok on the GUI part of install with the output
Looking at line 843-846 of C:\ProgramData_VM\vm.common\vm.common.psm1 it looks like it is using the command chocolatey rather than choco
Example:
looks like 843 and 844 need changing to choco.
The text was updated successfully, but these errors were encountered: