Skip to content

build error Docker not installed or not running: SyntaxError: Unexpected token 'j', "json" is not valid JSON #30

Open
@a289459798

Description

@a289459798
npx @langchain/langgraph-cli@latest build -t ichong-agent

error:

Error: Docker not installed or not running: SyntaxError: Unexpected token 'j', "json" is not valid JSON
at getDockerCapabilities (file:///Users/zhangzy/.npm/_npx/8b41b8d3955bcda6/node_modules/@langchain/langgraph-cli/dist/docker/compose.mjs:60:15)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Command. (file:///Users/zhangzy/.npm/_npx/8b41b8d3955bcda6/node_modules/@langchain/langgraph-cli/dist/cli/build.mjs:32:5)

env:
MAC OS 14.5 (23F79)

node -v
v22.11.0
npx @langchain/langgraph-cli@latest -V
0.0.17+js
docker -v
Docker version 20.10.10, build b485636
docker-compose -v
docker-compose version 1.29.2, build 5becea4c

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