Encountering Issues on Windows Platform

433 views
Skip to first unread message

Ashbeel Ghouri

unread,
Dec 8, 2020, 10:38:07 AM12/8/20
to skaffold-users
Hey, I am getting issues when i am running skaffold from windows 10: 

Error:
'"C:\ProgramData\chocolatey\bin\..\lib\skaffold\tools"' is not recognized as an internal or external command, operable program or batch file.

Can anyone help me understand, how can I fix this issue?

I have installed skaffold with chocolatey

Thanks

Ashbeel Ghouri

unread,
Dec 8, 2020, 10:39:59 AM12/8/20
to skaffold-users
I have tried re-installing this by choco install skaffold --force as well.
I am running the PowerShell as Administrator

Isaac Duarte

unread,
Dec 8, 2020, 10:45:06 AM12/8/20
to Ashbeel Ghouri, skaffold-users
What is the command you are running on powershell that is leading to this issue? Is it just "skaffold"?

--
You received this message because you are subscribed to the Google Groups "skaffold-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skaffold-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skaffold-users/1c636756-e0de-4558-824d-ea1670d55612n%40googlegroups.com.


--

Isaac Duarte

 • Engineering Resident @ Skaffold

 Google MTV (Working from NYC)

 • isaacpd@google.com

Ashbeel Ghouri

unread,
Dec 8, 2020, 11:42:15 AM12/8/20
to skaffold-users
It is just skaffold

Brian de Alwis

unread,
Dec 9, 2020, 10:32:19 PM12/9/20
to skaffold-users
I tried installing Skaffold on my Windows VM via chocolatey and had no problems.  It looks like chocolatey just downloads the release binary from our Github page, but generates some kind of shim.

Does  C:\ProgramData\chocolatey\lib\skaffold\tools exist on your system?  Does uninstalling and re-installing help?

Brian.

------------
PS C:\Users\User\Downloads> choco install skaffold
Chocolatey v0.10.15
2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).

Validation Warnings:
 - A pending system reboot request has been detected, however, this is
   being ignored due to the current Chocolatey configuration.  If you
   want to halt when this occurs, then either set the global feature
   using:
     choco feature enable -name=exitOnRebootDetected
   or pass the option --exit-when-reboot-detected.

Installing the following packages:
skaffold
By installing you accept licenses for the packages.
Progress: Downloading skaffold 1.17.1... 100%

skaffold v1.17.1 [Approved]
skaffold package files install completed. Performing other installation steps.
The package skaffold wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y

Progress: 100% - Completed download of C:\ProgramData\chocolatey\lib\skaffold\tools\skaffold.sha256 (97 B).
Download of skaffold.sha256 (97 B) completed.
Downloading skaffold 64 bit
Progress: 100% - Completed download of C:\ProgramData\chocolatey\lib\skaffold\tools\skaffold-windows-amd64.exe (47.6 MB).
Download of skaffold-windows-amd64.exe (47.6 MB) completed.
Hashes match.
C:\ProgramData\chocolatey\lib\skaffold\tools\skaffold-windows-amd64.exe
Added C:\ProgramData\chocolatey\bin\skaffold.exe shim pointed to '..\lib\skaffold\tools'.
 ShimGen has successfully created a shim for skaffold.exe
 The install of skaffold was successful.
  Software install location not explicitly set, could be in package or
  default install location if installer.

Chocolatey installed 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\Users\User\Downloads> skaffold
A tool that facilitates continuous development for Kubernetes applications.

  Find more information at: https://skaffold.dev/docs/getting-started/

End-to-end pipelines:
  run               Run a pipeline
  dev               Run a pipeline in development mode
  debug             [beta] Run a pipeline in debug mode

Pipeline building blocks for CI/CD:
  build             Build the artifacts
  deploy            Deploy pre-built artifacts
  delete            Delete the deployed application
  render            [alpha] Perform all image builds, and output rendered Kubernetes manifests

Getting started with a new project:
  init              [alpha] Generate configuration for deploying an application
  fix               Update old configuration to a newer schema version

Other Commands:
  completion        Output shell completion for the given shell (bash or zsh)
  config            Interact with the Skaffold configuration
  credits           Export third party notices to given path (./skaffold-credits by default)
  diagnose          Run a diagnostic on Skaffold
  schema            List and print json schemas used to validate skaffold.yaml configuration
  survey            Opens a web browser to fill out the Skaffold survey
  version           Print the version information

Usage:
  skaffold [flags] [options]

Use "skaffold <command> --help" for more information about a given command.
Use "skaffold options" for a list of global command-line options (applies to all commands).
PS C:\Users\User\Downloads>
----------

Reply all
Reply to author
Forward
0 new messages