Skip to content

Failed to setup example. (Windows VS Code) #73

@pxysource

Description

@pxysource

Machine

CPU: 11th Gen Intel(R) Core(TM) i5-11600K
OS: Windows 11 x64
VS Code: Version: 1.92.2 (user setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631
Raspberry Pi Pico: v0.15.2

Operations

  1. Raspberry Pi Pico -> New Project From Example
  2. Config: Name=blink, Board type=Pico W, Location="d:\User\Documents\PicoWorkspace", Select Pico SDK version=v2.0.0, Debugger=DebugProbe (CMSIS-DAP) [Default]
  3. Create

Failed to setup example.

VS Code Console log

[Extension Host] [raspberry-pi-pico] Using GitHub Personal Access Token for authentication
workbench.desktop.main.js:sourcemap:97 [Extension Host] [raspberry-pi-pico] Using cached response for pico-sdk releases
2workbench.desktop.main.js:sourcemap:97 [Extension Host] [raspberry-pi-pico] Using GitHub Personal Access Token for authentication
workbench.desktop.main.js:sourcemap:97 [Extension Host] [raspberry-pi-pico] Successfully downloaded examples list from the internet.
workbench.desktop.main.js:sourcemap:97 [Extension Host] [INFO] [NewProjectPanel] Loaded 84 examples.
workbench.desktop.main.js:sourcemap:97 [Extension Host] rejected promise not handled within 1 second: Error: Command failed: cd "C:/Users/Administrator/.pico-sdk/examples" && "C:\Users\Administrator\.pico-sdk\git\cmd\git.exe" rev-parse HEAD
fatal: not a git repository (or any of the parent directories): .git

y @ workbench.desktop.main.js:sourcemap:97
workbench.desktop.main.js:sourcemap:97 [Extension Host] stack trace: Error: Command failed: cd "C:/Users/Administrator/.pico-sdk/examples" && "C:\Users\Administrator\.pico-sdk\git\cmd\git.exe" rev-parse HEAD
fatal: not a git repository (or any of the parent directories): .git

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:423:12)
    at ChildProcess.emit (node:events:519:28)
    at ChildProcess.emit (node:domain:488:12)
    at maybeClose (node:internal/child_process:1105:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)
y @ workbench.desktop.main.js:sourcemap:97
workbench.desktop.main.js:sourcemap:660   ERR Command failed: cd "C:/Users/Administrator/.pico-sdk/examples" && "C:\Users\Administrator\.pico-sdk\git\cmd\git.exe" rev-parse HEAD
fatal: not a git repository (or any of the parent directories): .git
: Error: Command failed: cd "C:/Users/Administrator/.pico-sdk/examples" && "C:\Users\Administrator\.pico-sdk\git\cmd\git.exe" rev-parse HEAD
fatal: not a git repository (or any of the parent directories): .git

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:423:12)
    at ChildProcess.emit (node:events:519:28)
    at ChildProcess.emit (node:domain:488:12)
    at maybeClose (node:internal/child_process:1105:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)

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