Skip to content

Failed to install Node dependencies: unknown error #2036

Description

@garretwilson

Description

When trying the TypeScript demo according to the online instructions, agentcore dev produces:

Failed to install Node dependencies: unknown error

Steps to Reproduce

  1. agentcore create --name MyTsAgent --no-agent
  2. cd MyTsAgent
  3. agentcore add agent --name TsAgent --type create --build CodeZip --language TypeScript --framework Strands --model-provider Bedrock --memory none
  4. agentcore dev

These instructions are exactly according to Get started with the AgentCore CLI in TypeScript

They were performed on Windows 11 using Git Bash for Windows.

Expected Behavior

AgentCore runs in dev mode with no errors.

Actual Behavior

Starting web UI...
Log: agentcore\.cli\logs\dev\dev-20260819-075425.log

Chat UI: http://localhost:8081
Press Ctrl+C to stop

Web UI: [TsAgent] Failed to install Node dependencies: unknown error

In the web UI:

  • AgentCore agent inspector: Error
  • Failed to install Node dependencies: unknown error
  • Failed to install Node dependencies: unknown error

The indicated log provides nothing further:

================================================================================
AGENTCORE DEV LOG
Command: dev
Started: 2026-08-19T12:54:25.122Z
================================================================================

CLI Version

0.27.0

Operating System

Windows

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions