Skip to content

".subarray is not a function" errors when running server #3

@kuhnst-akros-ch

Description

@kuhnst-akros-ch

When I run the server with the current setup from the README (using Docker), the output is flooded with errors like:

[MCP Error] TypeError: this._buffer.subarray is not a function at ReadBuffer.readMessage (file:///app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js:18:37) at StdioServerTransport.processReadBuffer (file:///app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js:39:50) at StdioServerTransport._ondata (file:///app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js:17:18) at Socket.emit (node:events:536:35) at addChunk (node:internal/streams/readable:561:12) at readableAddChunkPushByteMode (node:internal/streams/readable:512:3) at Readable.push (node:internal/streams/readable:392:5) at Pipe.onStreamRead (node:internal/stream_base_commons:191:23) 

The same behavior also happens when I try to run it directly with npm (and I believe also with uv).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions