Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-3-7-sonnet-20250219-thinking-32k· AnthropicHugging Face LMArena Human Preference 140K

benjaminarcher@Benjamins-MacBook-Air techlend-be % npm run build techlend-be@0.0.1 build…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-3-7-sonnet-20250219’s answer.
  1. User

    benjaminarcher@Benjamins-MacBook-Air techlend-be % npm run build

    techlend-be@0.0.1 build npx @nestjs/cli build

    benjaminarcher@Benjamins-MacBook-Air techlend-be % npm run lg:dev

    techlend-be@0.0.1 lg:dev npx --no-install langgraphjs dev --port 2024

    error: ▪ ZodError: [ { "received": 20, "code": "invalid_literal", "expected": "20", "path": [ "node_version" ], "message": "Invalid literal value, expected "20"" } ] at get error (file:///Users/benjaminarcher/bridgit/techlend-be/node_modules/zod/dist/esm/v3/types.js:39:31) at ZodObject.parse (file:///Users/benjaminarcher/bridgit/techlend-be/node_modules/zod/dist/esm/v3/types.js:114:22) at getConfig (file:///Users/benjaminarcher/bridgit/techlend-be/node_modules/@langchain/langgraph-cli/dist/utils/config.mjs:93:29) at prepareContext (file:///Users/benjaminarcher/bridgit/techlend-be/node_modules/@langchain/langgraph-cli/dist/cli/dev.mjs:71:28) at async launchServer (file:///Users/benjaminarcher/bridgit/techlend-be/node_modules/@langchain/langgraph-cli/dist/cli/dev.mjs:108:46)

  2. Claude Assistant

    It looks like you're encountering a type error in your langgraphjs configuration. The error indicates that the node_version field is set as a number (20) when the configuration expects it to be a string ("20").

    You'll need to find your langgraphjs configuration file (likely langgraph.config.json or similar in your project) and update the node_version value to be in quotes.

    Change:

    "node_version": 20
    

    To:

    "node_version": "20"
    

    This should resolve the type validation error you're seeing.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.