Skip to content

Failed to build the app. Error: Failed to create skaffold configuration #1196

@chandanpg

Description

@chandanpg

Environment:
(Hint: "Report Extension Issue on Github" command will fill these out for you.)

Version information

Cloud Code Extension version: 2.37.0

VSCode version:

Version: 1.107.1 (user setup)
Commit: 994fd12f8d3a5aa16f17d42c041e5809167e845a
Date: 2025-12-17T14:15:14.850Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26100

Cloud SDK:

Skaffold:

Kubectl:

Description:Failed to build the app. Error: Failed to create skaffold configuration

Repro step:

While deploying to Cloud Run, i am getting error in my windows.

Running skaffold command: cmd.exe /c C:\Users\myuserid\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\skaffold.exe init --artifact {"image":"gcr.io/mygcpproject/de-gt-frontend-nextjs","builder":"Buildpacks","payload":{"path":"package.json","builder":"gcr.io/buildpacks/builder:v1"}} --skip-deploy --filename C:\Users\myuserid\AppData\Local\Temp\cloud-code-cloud-run-Ehdmjg\skaffold.yaml --force
'C:\Users\myuserid\AppData\Local\Google\Cloud' is not recognized as an internal or external command,
operable program or batch file.
Failed to build the app. Error: Failed to create skaffold configuration. Error: 'C:\Users\myuserid\AppData\Local\Google\Cloud' is not recognized as an internal or external command,
operable program or batch file.

But if i run as below its working fine

& "C:\Users\myuserid\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\skaffold.exe" init --skip-deploy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions