Skip to content
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

BUG #328

Open
29792375c opened this issue Nov 1, 2024 · 1 comment
Open

BUG #328

29792375c opened this issue Nov 1, 2024 · 1 comment

Comments

@29792375c
Copy link

PS C:\Users\rr\Desktop\commando-vm-main> .\install.ps1
[+] Retrieving available packages from MyGet. Please wait.
[+] Beginning graphical install
[+] Settings updated, beginning install. Please wait for a popup letting you know the installation is complete!
[+] Installing Boxstarter
Chocolatey is going to be downloaded and installed on your machine. If you do not have the .NET Framework Version 4 or greater, that will also be downloaded and installed.
Forcing web requests to allow TLS v1.2 (Required for requests to Chocolatey.org)
Getting latest version of the Chocolatey package for download.
Not using proxy.
Getting Chocolatey from https://community.chocolatey.org/api/v2/package/chocolatey/2.3.0.
Downloading https://community.chocolatey.org/api/v2/package/chocolatey/2.3.0 to C:\Users\rr\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip
Not using proxy.
Did not detect Chocolatey and unable to install. Installation of Boxstarter has been aborted.
Get-Content : Cannot find path 'C:\ProgramData\boxstarter\boxstarter.chocolatey\Chocolatey.ps1' because it does not
exist.
At C:\Users\rr\Desktop\commando-vm-main\install.ps1:1016 char:10

  • if ((Get-Content $fileToFix -raw) -contains $offendingString) {
    
  •      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\ProgramData...\Chocolatey.ps1:String) [Get-Content], ItemNotFoundEx
      ception
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

Get-Content : Cannot find path 'C:\ProgramData\boxstarter\boxstarter.chocolatey\invoke-chocolatey.ps1' because it does
not exist.
At C:\Users\rr\Desktop\commando-vm-main\install.ps1:1022 char:10

  • if ((Get-Content $fileToFix -raw) -contains $offendingString) {
    
  •      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\ProgramData...-chocolatey.ps1:String) [Get-Content], ItemNotFoundEx
      ception
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
@deannreid
Copy link

You can get past this by using the built in PowerShell. I get this when using PS7 through the Terminal App.

Using PS6 standalone works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants