Skip to content

Squad installation fails #247

Closed
Closed

Description

@marchermans

Hello,

When running (either through a global npm install, or through npx directly), the current latest releases (as of writing), fails with the following error:

npx @bradygaster/squad-cli init
node:internal/modules/run_main:107
    triggerUncaughtException(
    ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/home/marchermans/.npm-packages/lib/node_modules/@bradygaster/squad-cli/node_modules/vscode-jsonrpc/node' imported from /var/home/marchermans/.npm-packages/lib/node_modules/@bradygaster/squad-cli/node_modules/@github/copilot-sdk/dist/session.js
Did you mean to import "vscode-jsonrpc/node.js"?
    at finalizeResolution (node:internal/modules/esm/resolve:271:11)
    at moduleResolve (node:internal/modules/esm/resolve:861:10)
    at defaultResolve (node:internal/modules/esm/resolve:988:11)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:697:20)
    at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:714:38)
    at ModuleLoader.resolveSync (node:internal/modules/esm/loader:746:52)
    at #resolve (node:internal/modules/esm/loader:679:17)
    at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:599:35)
    at ModuleJob.syncLink (node:internal/modules/esm/module_job:160:33)
    at ModuleJob.link (node:internal/modules/esm/module_job:245:17) {
  code: 'ERR_MODULE_NOT_FOUND',
  url: 'file:///var/home/marchermans/.npm-packages/lib/node_modules/@bradygaster/squad-cli/node_modules/vscode-jsonrpc/node'
}

Node.js v25.8.0

I am running on Node.js 25.8

There does not seem to be an obvious way I can fix it.

I running it natively by cloning the project and running it through a debugger and that works, but that does not seem to be an effective solution.

Any suggestions on how to proceed, any additional information you would like that would enable you to help me debug this?

Activity

  1. donbing commented on Mar 7, 2026

    @donbing

    similar here, Node.js v24.13.0

    npx @bradygaster/squad-cli init
    node:internal/modules/package_json_reader:316
      throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
            ^
    
    Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@opentelemetry/api' imported from C:\Users\Chris\foo\node_modules\@bradygaster\squad-sdk\dist\runtime\otel.js
        at Object.getPackageJSONURL (node:internal/modules/package_json_reader:316:9)
        at packageResolve (node:internal/modules/esm/resolve:768:81)
        at moduleResolve (node:internal/modules/esm/resolve:858:18)
        at defaultResolve (node:internal/modules/esm/resolve:990:11)
        at #cachedDefaultResolve (node:internal/modules/esm/loader:718:20)
        at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:735:38)
        at ModuleLoader.resolveSync (node:internal/modules/esm/loader:764:52)
        at #resolve (node:internal/modules/esm/loader:700:17)
        at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:620:35)
        at ModuleJob.syncLink (node:internal/modules/esm/module_job:143:33) {
      code: 'ERR_MODULE_NOT_FOUND'
    
  2. bradygaster commented on Mar 7, 2026

    @bradygaster
    Collaborator

    Thanks for reporting this, @marchermans! And @donbing for the additional data point.

    Two separate module resolution issues are at play here:

    1. \�scode-jsonrpc/node\ (Node 25.8)
    This is an upstream issue in @github/copilot-sdk. Node 25 enforces stricter ESM resolution — \�scode-jsonrpc/node\ needs to be \�scode-jsonrpc/node.js. This needs to be fixed in the copilot-sdk dependency.

    2. @opentelemetry/api\ (Node 24.13)
    This is listed as a direct dependency of @bradygaster/squad-sdk, so it should be resolved during install. This might be an npm hoisting issue with
    px\ not fully resolving transitive dependencies.

    Workaround for now: Clone the repo and run locally (as you found). We'll investigate the packaging to ensure transitive deps resolve correctly with
    px.

    Node version note: Squad is actively tested on Node 22 LTS. Node 24/25 are bleeding edge — we'll work on compatibility but Node 22 is the safest bet for now.

    Labeling this as a bug — we'll look into the packaging side.

  3. EngstromJimmy commented on Mar 7, 2026

    @EngstromJimmy

    I ran into the same issue as @marchermans.
    I have narrowed the problem down to a @github/copilot-sdk@0.1.31 issue, if i run @github/copilot-sdk@0.1.30 it seems to work again

  4. dfberry commented on Mar 7, 2026

    @dfberry

    I'm hitting this on Node 22.14.0 on apple silicon

  5. bradygaster commented on Mar 7, 2026

    @bradygaster
    Collaborator

    Fixed on dev (commits 46162a9, 896f14a). Three changes:

    1. Made @opentelemetry/api import resilient — new \otel-api.ts\ wrapper with full no-op fallbacks. All 9 source files rewired through it. Telemetry gracefully degrades if packages aren't installed instead of crashing.

    2. Added vscode-jsonrpc as direct dependency in both packages to improve npm hoisting for npx installs. The upstream ESM subpath resolution issue in @github/copilot-sdk still exists, but explicit dependency declaration helps npm resolve it.

    3. Bumped @github/copilot-sdk to ^0.1.32 which has improved ESM compatibility.

    These fixes will ship in the next release. In the meantime, Node 22 LTS is the recommended version.

  6. bradygaster commented on Mar 7, 2026

    @bradygaster
    Collaborator

    Thanks for reporting this module resolution issue, @marchermans! The vscode-jsonrpc import path problem is frustrating, and we appreciate you working through debugging with us. We've got a fix in the works. Thanks for sticking with it! 🙏

    — McManus 📝, on behalf of the Squad

  7. craigb commented on Mar 7, 2026

    @craigb

    @bradygaster I think this issue is still present in 0.8.22:

    npm install -g @bradygaster/squad-cli@0.8.22
    squad init

    node:internal/modules/run_main:107
    triggerUncaughtException(
    ^

    Error [ERR_MODULE_NOT_FOUND]: Cannot find module '~\AppData\Roaming\npm\node_modules@bradygaster\squad-cli\node_modules\vscode-jsonrpc\node' imported from ~\AppData\Roaming\npm\node_modules@bradygaster\squad-cli\node_modules@github\copilot-sdk\dist\session.js

    Did you mean to import "vscode-jsonrpc/node.js"?
    at finalizeResolution (node:internal/modules/esm/resolve:271:11)
    at moduleResolve (node:internal/modules/esm/resolve:861:10)
    at defaultResolve (node:internal/modules/esm/resolve:988:11)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:697:20)
    at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:714:38)
    at ModuleLoader.resolveSync (node:internal/modules/esm/loader:746:52)
    at #resolve (node:internal/modules/esm/loader:679:17)
    at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:599:35)
    at ModuleJob.syncLink (node:internal/modules/esm/module_job:160:33)
    at ModuleJob.link (node:internal/modules/esm/module_job:245:17) {
    code: 'ERR_MODULE_NOT_FOUND',
    url: 'file:///~/AppData/Roaming/npm/node_modules/@bradygaster/squad-cli/node_modules/vscode-jsonrpc/node'
    }

    Node.js v25.8.0

  8. jspraul commented on Mar 17, 2026

    @jspraul

    Per github/copilot-sdk#707 (comment) "Still present in v0.1.32, also reproducible on Node 22" (the thread has a couple workarounds)

    It's fixed on [copilot-sdk] main but I think they haven't shipped a new release since then, so we need to wait for .33

    Meanwhile using Windows Sandbox I've tested and confirmed that squad works out-of-the-box with npm in nodejs 22 and 25, but not pnpm or yarn.

    🎉Success: NodeJS 25.8.1 npm (11.11.0) in Windows Sandbox
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
    scoop install git nodejs@25.8.1 #22.22.1 also works
    cd Desktop
    git init -b main
    npm install -g @bradygaster/squad-cli
    squad init
    squad
    
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\Users\WDAGUtilityAccount> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    
    Execution Policy Change
    The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
    you to the security risks described in the about_Execution_Policies help topic at
    https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): y
    PS C:\Users\WDAGUtilityAccount> Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
    Initializing...
    Downloading...
    Extracting...
    Creating shim...
    Adding ~\scoop\shims to your path.
    Scoop was installed successfully!
    Type 'scoop help' for instructions.
    PS C:\Users\WDAGUtilityAccount> scoop install git nodejs@25.8.1
    Installing '7zip' (26.00) [64bit] from 'main' bucket
    7z2600-x64.msi (1.9 MB) [=====================================================================================] 100%
    Checking hash of 7z2600-x64.msi ... ok.
    Extracting 7z2600-x64.msi ... done.
    Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\26.00
    Creating shim for '7z'.
    Creating shim for '7zFM'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\7zfm.exe a GUI binary.
    Creating shim for '7zG'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\7zg.exe a GUI binary.
    Creating shortcut for 7-Zip (7zFM.exe)
    Persisting Codecs
    Persisting Formats
    Running post_install script...done.
    '7zip' (26.00) was installed successfully!
    Notes
    -----
    Add 7-Zip as a context menu option by running:
    reg import "C:\Users\WDAGUtilityAccount\scoop\apps\7zip\current\install-context.reg"
    Installing 'nodejs' (25.8.1) [64bit] from 'C:\Users\WDAGUtilityAccount\scoop\buckets\main\bucket\nodejs.json'
    node-v25.8.1-win-x64.7z (22.5 MB) [===========================================================================] 100%
    Checking hash of node-v25.8.1-win-x64.7z ... ok.
    Extracting node-v25.8.1-win-x64.7z ... done.
    Linking ~\scoop\apps\nodejs\current => ~\scoop\apps\nodejs\25.8.1
    Adding ~\scoop\apps\nodejs\current\bin to your path.
    Adding ~\scoop\apps\nodejs\current to your path.
    Persisting bin
    Persisting cache
    Running post_install script...done.
    'nodejs' (25.8.1) was installed successfully!
    Installing 'git' (2.53.0.2) [64bit] from 'main' bucket
    PortableGit-2.53.0.2-64-bit.7z.exe (55.6 MB) [================================================================] 100%
    Checking hash of PortableGit-2.53.0.2-64-bit.7z.exe ... ok.
    Extracting PortableGit-2.53.0.2-64-bit.7z.exe ... done.
    Running pre_install script...done.
    Linking ~\scoop\apps\git\current => ~\scoop\apps\git\2.53.0.2
    Creating shim for 'sh'.
    Creating shim for 'git'.
    Creating shim for 'git-bash'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\git-bash.exe a GUI binary.
    Creating shim for 'gpg'.
    Creating shim for 'gpg-agent'.
    Creating shim for 'gpgconf'.
    Creating shim for 'gpg-connect-agent'.
    Creating shim for 'pinentry'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\pinentry.exe a GUI binary.
    Creating shortcut for Git\Git Bash (git-bash.exe)
    Creating shortcut for Git\Git CMD (git-cmd.exe)
    Creating shortcut for Git\Git GUI (git-gui.exe)
    Adding ~\scoop\apps\git\current\cmd to your path.
    Running post_install script...done.
    'git' (2.53.0.2) was installed successfully!
    Notes
    -----
    To register file associations, please execute the following command:
    reg import "C:\Users\WDAGUtilityAccount\scoop\apps\git\current\install-associations.reg"
    
    To register the context menu entry, please execute the following command:
    reg import "C:\Users\WDAGUtilityAccount\scoop\apps\git\current\install-context.reg"
    
    To set Git Credential Manager Core for portable Git, please execute the following command:
    git config --system credential.helper manager
    PS C:\Users\WDAGUtilityAccount> cd Desktop
    PS C:\Users\WDAGUtilityAccount\Desktop> git init -b main
    Initialized empty Git repository in C:/Users/WDAGUtilityAccount/Desktop/.git/
    PS C:\Users\WDAGUtilityAccount\Desktop> npm install -g @bradygaster/squad-cli
    
    added 135 packages in 23s
    
    32 packages are looking for funding
      run `npm fund` for details
    npm notice
    npm notice New patch version of npm available! 11.11.0 -> 11.11.1
    npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.11.1
    npm notice To update run: npm install -g npm@11.11.1
    npm notice
    PS C:\Users\WDAGUtilityAccount\Desktop> squad init
    
    Let's build your team.
    
    error: No such remote 'origin'
    error: No such remote 'origin'
    ✓ .squad\config.json
    ✓ .squad\agents\scribe\charter.md
    ✓ .squad\agents\scribe\history.md
    ✓ .squad\identity\now.md
    ✓ .squad\identity\wisdom.md
    ✓ .squad\ceremonies.md
    ✓ .squad\decisions.md
    ✓ .squad\team.md
    ✓ .squad\routing.md
    ✓ .squad/skills
    ✓ .gitattributes
    ✓ .gitignore
    ✓ .github\agents\squad.agent.md
    ✓ .squad\templates
    ✓ .github\workflows\squad-heartbeat.yml
    ✓ .github\workflows\squad-issue-assign.yml
    ✓ .github\workflows\squad-triage.yml
    ✓ .github\workflows\sync-squad-labels.yml
    ✓ .copilot\mcp-config.json
    ✓ .gitignore
    ✓ .squad\.first-run
    
    ◆ SQUAD
    
      📁  Team workspace
      📋  Skills & ceremonies
      🔧  Workflows & CI
      🧠  Identity & wisdom
      🤖  Copilot agent prompt
    
    Your team is ready. Run squad to start.
    
    PS C:\Users\WDAGUtilityAccount\Desktop> squad
    
    ╭────────────────────────────────────────────────────────────────────────╮
    │   ___  ___  _   _  _   ___                                             │
    │  / __|/ _ \| | | |/_\ |   \                                            │
    │  \__ \ (_) | |_| / _ \| |) |                                           │
    │  |___/\__\_\\___/_/ \_\___/                                            │
    │                                                                        │
    │ v0.8.25 · Type naturally · @Agent to direct · /help                    │
    │ ⚠️  Experimental preview — file issues at github.com/bradygaster/squad │
    ╰────────────────────────────────────────────────────────────────────────╯
    
    
    
    
     No agents active.
     Send a message to start. /help for commands.
    
    
    ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
    │ ◆ squad> ▌                                                                                                           │
    │  Tab completes · ↑↓ history                                                                                          │
    ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
    

    ⚠Error using pnpm in Windows Sandbox (repro step 1 of 2: First PowerShell Window)
    # First PowerShell Window
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
    scoop install git pnpm@10.32.1 nodejs@22.22.1 #25.8.1 also fails
    pnpm setup
    
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\Users\WDAGUtilityAccount> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    
    Execution Policy Change
    The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
    you to the security risks described in the about_Execution_Policies help topic at
    https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): Y
    PS C:\Users\WDAGUtilityAccount> Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
    Initializing...
    Downloading...
    Extracting...
    Creating shim...
    Adding ~\scoop\shims to your path.
    Scoop was installed successfully!
    Type 'scoop help' for instructions.
    PS C:\Users\WDAGUtilityAccount> scoop install git pnpm@10.32.1 nodejs@22.22.1 #25.8.1 also fails
    WARN  Given version (22.22.1) does not match manifest (25.8.1)
    WARN  Attempting to generate manifest for 'nodejs' (22.22.1)
    Autoupdating nodejs
    Searching hash for node-v22.22.1-win-x64.7z in https://nodejs.org/dist/v22.22.1/SHASUMS256.txt.asc
    Found: 07d6fdf3677e077a6f6b7906b9a770a78d852ae455ec37d7aa4df180e16728cd using Extract Mode
    Searching hash for node-v22.22.1-win-arm64.7z in https://nodejs.org/dist/v22.22.1/SHASUMS256.txt.asc
    Found: c772ad9da497e34e0e6a4abccbd71f21ef5f54059790da1f8f8e7b64ccc63e2d using Extract Mode
    Writing updated nodejs manifest
    Installing 'pnpm' (10.32.1) [64bit] from 'C:\Users\WDAGUtilityAccount\scoop\buckets\main\bucket\pnpm.json'
    pnpm-win-x64.exe (50.9 MB) [==================================================================================] 100%
    Checking hash of pnpm-win-x64.exe ... ok.
    Linking ~\scoop\apps\pnpm\current => ~\scoop\apps\pnpm\10.32.1
    Creating shim for 'pnpm'.
    Creating shim for 'pnpx'.
    'pnpm' (10.32.1) was installed successfully!
    Installing '7zip' (26.00) [64bit] from 'main' bucket
    7z2600-x64.msi (1.9 MB) [=====================================================================================] 100%
    Checking hash of 7z2600-x64.msi ... ok.
    Extracting 7z2600-x64.msi ... done.
    Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\26.00
    Creating shim for '7z'.
    Creating shim for '7zFM'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\7zfm.exe a GUI binary.
    Creating shim for '7zG'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\7zg.exe a GUI binary.
    Creating shortcut for 7-Zip (7zFM.exe)
    Persisting Codecs
    Persisting Formats
    Running post_install script...done.
    '7zip' (26.00) was installed successfully!
    Notes
    -----
    Add 7-Zip as a context menu option by running:
    reg import "C:\Users\WDAGUtilityAccount\scoop\apps\7zip\current\install-context.reg"
    Installing 'nodejs' (22.22.1) [64bit] from 'C:\Users\WDAGUtilityAccount\scoop\workspace\nodejs.json'
    node-v22.22.1-win-x64.7z (21.5 MB) [==========================================================================] 100%
    Checking hash of node-v22.22.1-win-x64.7z ... ok.
    Extracting node-v22.22.1-win-x64.7z ... done.
    Linking ~\scoop\apps\nodejs\current => ~\scoop\apps\nodejs\22.22.1
    Adding ~\scoop\apps\nodejs\current\bin to your path.
    Adding ~\scoop\apps\nodejs\current to your path.
    Persisting bin
    Persisting cache
    Running post_install script...done.
    'nodejs' (22.22.1) was installed successfully!
    Installing 'git' (2.53.0.2) [64bit] from 'main' bucket
    PortableGit-2.53.0.2-64-bit.7z.exe (55.6 MB) [================================================================] 100%
    Checking hash of PortableGit-2.53.0.2-64-bit.7z.exe ... ok.
    Extracting PortableGit-2.53.0.2-64-bit.7z.exe ... done.
    Running pre_install script...done.
    Linking ~\scoop\apps\git\current => ~\scoop\apps\git\2.53.0.2
    Creating shim for 'sh'.
    Creating shim for 'git'.
    Creating shim for 'git-bash'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\git-bash.exe a GUI binary.
    Creating shim for 'gpg'.
    Creating shim for 'gpg-agent'.
    Creating shim for 'gpgconf'.
    Creating shim for 'gpg-connect-agent'.
    Creating shim for 'pinentry'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\pinentry.exe a GUI binary.
    Creating shortcut for Git\Git Bash (git-bash.exe)
    Creating shortcut for Git\Git CMD (git-cmd.exe)
    Creating shortcut for Git\Git GUI (git-gui.exe)
    Adding ~\scoop\apps\git\current\cmd to your path.
    Running post_install script...done.
    'git' (2.53.0.2) was installed successfully!
    Notes
    -----
    To register file associations, please execute the following command:
    reg import "C:\Users\WDAGUtilityAccount\scoop\apps\git\current\install-associations.reg"
    
    To register the context menu entry, please execute the following command:
    reg import "C:\Users\WDAGUtilityAccount\scoop\apps\git\current\install-context.reg"
    
    To set Git Credential Manager Core for portable Git, please execute the following command:
    git config --system credential.helper manager
    PS C:\Users\WDAGUtilityAccount> pnpm setup
    Copying pnpm CLI from C:\Users\WDAGUtilityAccount\scoop\apps\pnpm\current\pnpm.exe to C:\Users\WDAGUtilityAccount\AppData\Local\pnpm\.tools\pnpm-exe\10.32.1\pnpm.exe
    Next configuration changes were made:
    PNPM_HOME=C:\Users\WDAGUtilityAccount\AppData\Local\pnpm
    Path=%PNPM_HOME%;C:\Users\WDAGUtilityAccount\scoop\apps\git\current\cmd;C:\Users\WDAGUtilityAccount\scoop\apps\nodejs\current\bin;C:\Users\WDAGUtilityAccount\scoop\apps\nodejs\current;C:\Users\WDAGUtilityAccount\scoop\shims;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps
    
    Setup complete. Open a new terminal to start using pnpm.
    
    PS C:\Users\WDAGUtilityAccount\Desktop>
    
    ⚠Error using pnpm in Windows Sandbox (repro step 2 of 2: Next PowerShell Window)
    # Next PowerShell Window (pnpm setup: "Open a new terminal...")
    cd Desktop
    git init -b main
    pnpm install -g @bradygaster/squad-cli
    pnpm approve-builds -g --all
    squad init
    squad
    
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\Users\WDAGUtilityAccount> cd Desktop
    PS C:\Users\WDAGUtilityAccount\Desktop> git init -b main
    Initialized empty Git repository in C:/Users/WDAGUtilityAccount/Desktop/.git/
    PS C:\Users\WDAGUtilityAccount\Desktop> pnpm install -g @bradygaster/squad-cli
    Packages: +127
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Downloading @github/copilot@1.0.6: 39.98 MB/39.98 MB, done
    Downloading @github/copilot-win32-x64@1.0.6: 57.18 MB/57.18 MB, done
    Progress: resolved 132, reused 0, downloaded 127, added 127, done
    
    C:\Users\WDAGUtilityAccount\AppData\Local\pnpm\global\5:
    + @bradygaster/squad-cli 0.8.25
    
    ╭ Warning ──────────────────────────────────────────────────────────────────────────────────────╮
    │                                                                                               │
    │   Ignored build scripts: @bradygaster/squad-cli@0.8.25, protobufjs@7.5.4.                     │
    │   Run "pnpm approve-builds -g" to pick which dependencies should be allowed to run scripts.   │
    │                                                                                               │
    ╰───────────────────────────────────────────────────────────────────────────────────────────────╯
    Done in 15.8s using pnpm v10.32.1
    PS C:\Users\WDAGUtilityAccount\Desktop> pnpm approve-builds -g --all
    .pnpm/protobufjs@7.5.4/node_modules/protobufjs: Running postinstall script, done in 117ms
    .pnpm/@bradygaster+squad-cli@0.8.25/node_modules/@bradygaster/squad-cli: Running postinstall script, done in 105ms
    PS C:\Users\WDAGUtilityAccount\Desktop> squad init
    
    Let's build your team.
    
    error: No such remote 'origin'
    error: No such remote 'origin'
    ✓ .squad\config.json
    ✓ .squad\agents\scribe\charter.md
    ✓ .squad\agents\scribe\history.md
    ✓ .squad\identity\now.md
    ✓ .squad\identity\wisdom.md
    ✓ .squad\ceremonies.md
    ✓ .squad\decisions.md
    ✓ .squad\team.md
    ✓ .squad\routing.md
    ✓ .squad/skills
    ✓ .gitattributes
    ✓ .gitignore
    ✓ .github\agents\squad.agent.md
    ✓ .squad\templates
    ✓ .github\workflows\squad-heartbeat.yml
    ✓ .github\workflows\squad-issue-assign.yml
    ✓ .github\workflows\squad-triage.yml
    ✓ .github\workflows\sync-squad-labels.yml
    ✓ .copilot\mcp-config.json
    ✓ .gitignore
    ✓ .squad\.first-run
    
    ◆ SQUAD
    
      📁  Team workspace
      📋  Skills & ceremonies
      🔧  Workflows & CI
      🧠  Identity & wisdom
      🤖  Copilot agent prompt
    
    Your team is ready. Run squad to start.
    
    PS C:\Users\WDAGUtilityAccount\Desktop> squad
    Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\WDAGUtilityAccount\AppData\Local\pnpm\global\5\.pnpm\@github+copilot-sdk@0.1.32\node_modules\vscode-jsonrpc\node' imported from C:\Users\WDAGUtilityAccount\AppData\Local\pnpm\global\5\.pnpm\@github+copilot-sdk@0.1.32\node_modules\@github\copilot-sdk\dist\session.js
    Did you mean to import "vscode-jsonrpc/node.js"?
        at finalizeResolution (node:internal/modules/esm/resolve:275:11)
        at moduleResolve (node:internal/modules/esm/resolve:861:10)
        at defaultResolve (node:internal/modules/esm/resolve:985:11)
        at #cachedDefaultResolve (node:internal/modules/esm/loader:731:20)
        at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
        at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:310:38)
        at ModuleJob._link (node:internal/modules/esm/module_job:182:49) {
      code: 'ERR_MODULE_NOT_FOUND',
      url: 'file:///C:/Users/WDAGUtilityAccount/AppData/Local/pnpm/global/5/.pnpm/@github+copilot-sdk@0.1.32/node_modules/vscode-jsonrpc/node'
    }
    PS C:\Users\WDAGUtilityAccount\Desktop>
    

    ⚠Error using pnpm in Windows Sandbox:

    Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\WDAGUtilityAccount\AppData\Local\pnpm\global\5\.pnpm\@github+copilot-sdk@0.1.32\node_modules\vscode-jsonrpc\node' imported from C:\Users\WDAGUtilityAccount\AppData\Local\pnpm\global\5\.pnpm\@github+copilot-sdk@0.1.32\node_modules\@github\copilot-sdk\dist\session.js
    Did you mean to import "vscode-jsonrpc/node.js"?
        at finalizeResolution (node:internal/modules/esm/resolve:275:11)
        at moduleResolve (node:internal/modules/esm/resolve:861:10)
        at defaultResolve (node:internal/modules/esm/resolve:985:11)
        at #cachedDefaultResolve (node:internal/modules/esm/loader:731:20)
        at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
        at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:310:38)
        at ModuleJob._link (node:internal/modules/esm/module_job:182:49) {
      code: 'ERR_MODULE_NOT_FOUND',
      url: 'file:///C:/Users/WDAGUtilityAccount/AppData/Local/pnpm/global/5/.pnpm/@github+copilot-sdk@0.1.32/node_modules/vscode-jsonrpc/node'
    }
    

    ⚠Error using yarn in Windows Sandbox (repro)
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
    scoop install git yarn@1.22.22 nodejs@22.22.1
    cd Desktop
    git init -b main
    yarn global add @bradygaster/squad-cli
    C:\Users\WDAGUtilityAccount\AppData\Local\yarn\bin\squad.cmd init
    C:\Users\WDAGUtilityAccount\AppData\Local\yarn\bin\squad.cmd
    
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\Users\WDAGUtilityAccount> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    PS C:\Users\WDAGUtilityAccount> Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
    Initializing...
    Downloading...
    Extracting...
    Creating shim...
    Adding ~\scoop\shims to your path.
    Scoop was installed successfully!
    Type 'scoop help' for instructions.
    PS C:\Users\WDAGUtilityAccount> scoop install git yarn@1.22.22 nodejs@22.22.1
    WARN  Given version (22.22.1) does not match manifest (25.8.1)
    WARN  Attempting to generate manifest for 'nodejs' (22.22.1)
    Autoupdating nodejs
    Searching hash for node-v22.22.1-win-x64.7z in https://nodejs.org/dist/v22.22.1/SHASUMS256.txt.asc
    Found: 07d6fdf3677e077a6f6b7906b9a770a78d852ae455ec37d7aa4df180e16728cd using Extract Mode
    Searching hash for node-v22.22.1-win-arm64.7z in https://nodejs.org/dist/v22.22.1/SHASUMS256.txt.asc
    Found: c772ad9da497e34e0e6a4abccbd71f21ef5f54059790da1f8f8e7b64ccc63e2d using Extract Mode
    Writing updated nodejs manifest
    Installing '7zip' (26.00) [64bit] from 'main' bucket
    7z2600-x64.msi (1.9 MB) [=====================================================================================] 100%
    Checking hash of 7z2600-x64.msi ... ok.
    Extracting 7z2600-x64.msi ... done.
    Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\26.00
    Creating shim for '7z'.
    Creating shim for '7zFM'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\7zfm.exe a GUI binary.
    Creating shim for '7zG'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\7zg.exe a GUI binary.
    Creating shortcut for 7-Zip (7zFM.exe)
    Persisting Codecs
    Persisting Formats
    Running post_install script...done.
    '7zip' (26.00) was installed successfully!
    Notes
    -----
    Add 7-Zip as a context menu option by running:
    reg import "C:\Users\WDAGUtilityAccount\scoop\apps\7zip\current\install-context.reg"
    Installing 'yarn' (1.22.22) [64bit] from 'C:\Users\WDAGUtilityAccount\scoop\buckets\main\bucket\yarn.json'
    yarn-v1.22.22.tar.gz (1.2 MB) [===============================================================================] 100%
    Checking hash of yarn-v1.22.22.tar.gz ... ok.
    Extracting yarn-v1.22.22.tar.gz ... done.
    Linking ~\scoop\apps\yarn\current => ~\scoop\apps\yarn\1.22.22
    Adding ~\scoop\apps\yarn\current\global\node_modules\.bin to your path.
    Adding ~\scoop\apps\yarn\current\bin to your path.
    Persisting cache
    Persisting global
    Persisting mirror
    Running post_install script...'node' is not recognized as an internal or external command,
    operable program or batch file.
    'node' is not recognized as an internal or external command,
    operable program or batch file.
    'node' is not recognized as an internal or external command,
    operable program or batch file.
    'node' is not recognized as an internal or external command,
    operable program or batch file.
    done.
    'yarn' (1.22.22) was installed successfully!
    Installing 'nodejs' (22.22.1) [64bit] from 'C:\Users\WDAGUtilityAccount\scoop\workspace\nodejs.json'
    node-v22.22.1-win-x64.7z (21.5 MB) [==========================================================================] 100%
    Checking hash of node-v22.22.1-win-x64.7z ... ok.
    Extracting node-v22.22.1-win-x64.7z ... done.
    Linking ~\scoop\apps\nodejs\current => ~\scoop\apps\nodejs\22.22.1
    Adding ~\scoop\apps\nodejs\current\bin to your path.
    Adding ~\scoop\apps\nodejs\current to your path.
    Persisting bin
    Persisting cache
    Running post_install script...done.
    'nodejs' (22.22.1) was installed successfully!
    Installing 'git' (2.53.0.2) [64bit] from 'main' bucket
    PortableGit-2.53.0.2-64-bit.7z.exe (55.6 MB) [================================================================] 100%
    Checking hash of PortableGit-2.53.0.2-64-bit.7z.exe ... ok.
    Extracting PortableGit-2.53.0.2-64-bit.7z.exe ... done.
    Running pre_install script...done.
    Linking ~\scoop\apps\git\current => ~\scoop\apps\git\2.53.0.2
    Creating shim for 'sh'.
    Creating shim for 'git'.
    Creating shim for 'git-bash'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\git-bash.exe a GUI binary.
    Creating shim for 'gpg'.
    Creating shim for 'gpg-agent'.
    Creating shim for 'gpgconf'.
    Creating shim for 'gpg-connect-agent'.
    Creating shim for 'pinentry'.
    Making C:\Users\WDAGUtilityAccount\scoop\shims\pinentry.exe a GUI binary.
    Creating shortcut for Git\Git Bash (git-bash.exe)
    Creating shortcut for Git\Git CMD (git-cmd.exe)
    Creating shortcut for Git\Git GUI (git-gui.exe)
    Adding ~\scoop\apps\git\current\cmd to your path.
    Running post_install script...done.
    'git' (2.53.0.2) was installed successfully!
    Notes
    -----
    To register file associations, please execute the following command:
    reg import "C:\Users\WDAGUtilityAccount\scoop\apps\git\current\install-associations.reg"
    
    To register the context menu entry, please execute the following command:
    reg import "C:\Users\WDAGUtilityAccount\scoop\apps\git\current\install-context.reg"
    
    To set Git Credential Manager Core for portable Git, please execute the following command:
    git config --system credential.helper manager
    PS C:\Users\WDAGUtilityAccount> cd Desktop
    PS C:\Users\WDAGUtilityAccount\Desktop> git init -b main
    Initialized empty Git repository in C:/Users/WDAGUtilityAccount/Desktop/.git/
    PS C:\Users\WDAGUtilityAccount\Desktop> yarn global add @bradygaster/squad-cli
    yarn global v1.22.22
    [1/4] Resolving packages...
    [2/4] Fetching packages...
    [3/4] Linking dependencies...
    warning Workspaces can only be enabled in private projects.
    [4/4] Building fresh packages...
    success Installed "@bradygaster/squad-cli@0.8.25" with binaries:
          - squad
          - squad-cli
    Done in 52.66s.
    PS C:\Users\WDAGUtilityAccount\Desktop> C:\Users\WDAGUtilityAccount\AppData\Local\yarn\bin\squad.cmd init
    
    Let's build your team.
    
    error: No such remote 'origin'
    error: No such remote 'origin'
    ✓ .squad\config.json
    ✓ .squad\agents\scribe\charter.md
    ✓ .squad\agents\scribe\history.md
    ✓ .squad\identity\now.md
    ✓ .squad\identity\wisdom.md
    ✓ .squad\ceremonies.md
    ✓ .squad\decisions.md
    ✓ .squad\team.md
    ✓ .squad\routing.md
    ✓ .squad/skills
    ✓ .gitattributes
    ✓ .gitignore
    ✓ .github\agents\squad.agent.md
    ✓ .squad\templates
    ✓ .github\workflows\squad-heartbeat.yml
    ✓ .github\workflows\squad-issue-assign.yml
    ✓ .github\workflows\squad-triage.yml
    ✓ .github\workflows\sync-squad-labels.yml
    ✓ .copilot\mcp-config.json
    ✓ .gitignore
    ✓ .squad\.first-run
    
    ◆ SQUAD
    
      📁  Team workspace
      📋  Skills & ceremonies
      🔧  Workflows & CI
      🧠  Identity & wisdom
      🤖  Copilot agent prompt
    
    Your team is ready. Run squad to start.
    
    PS C:\Users\WDAGUtilityAccount\Desktop> C:\Users\WDAGUtilityAccount\AppData\Local\yarn\bin\squad.cmd
    Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\WDAGUtilityAccount\AppData\Local\Yarn\Data\global\node_modules\vscode-jsonrpc\node' imported from C:\Users\WDAGUtilityAccount\AppData\Local\Yarn\Data\global\node_modules\@github\copilot-sdk\dist\session.js
    Did you mean to import "vscode-jsonrpc/node.js"?
        at finalizeResolution (node:internal/modules/esm/resolve:275:11)
        at moduleResolve (node:internal/modules/esm/resolve:861:10)
        at defaultResolve (node:internal/modules/esm/resolve:985:11)
        at #cachedDefaultResolve (node:internal/modules/esm/loader:731:20)
        at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
        at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:310:38)
        at ModuleJob._link (node:internal/modules/esm/module_job:182:49) {
      code: 'ERR_MODULE_NOT_FOUND',
      url: 'file:///C:/Users/WDAGUtilityAccount/AppData/Local/Yarn/Data/global/node_modules/vscode-jsonrpc/node'
    }
    PS C:\Users\WDAGUtilityAccount\Desktop>
    

    ⚠Error using yarn in Windows Sandbox:

    PS C:\Users\WDAGUtilityAccount\Desktop> C:\Users\WDAGUtilityAccount\AppData\Local\yarn\bin\squad.cmd
    Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\WDAGUtilityAccount\AppData\Local\Yarn\Data\global\node_modules\vscode-jsonrpc\node' imported from C:\Users\WDAGUtilityAccount\AppData\Local\Yarn\Data\global\node_modules\@github\copilot-sdk\dist\session.js
    Did you mean to import "vscode-jsonrpc/node.js"?
        at finalizeResolution (node:internal/modules/esm/resolve:275:11)
        at moduleResolve (node:internal/modules/esm/resolve:861:10)
        at defaultResolve (node:internal/modules/esm/resolve:985:11)
        at #cachedDefaultResolve (node:internal/modules/esm/loader:731:20)
        at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
        at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:310:38)
        at ModuleJob._link (node:internal/modules/esm/module_job:182:49) {
      code: 'ERR_MODULE_NOT_FOUND',
      url: 'file:///C:/Users/WDAGUtilityAccount/AppData/Local/Yarn/Data/global/node_modules/vscode-jsonrpc/node'
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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