Skip to content

✘ [ERROR] Dependency Installation #2

@andrmaz

Description

@andrmaz

Environment:

  • OS: Windows 11 (Build 26120.6760) with WSL2
  • WSL Distribution: Ubuntu 20.04.6 LTS
  • Node: 22.13.0
  • Npm: 10.9.2
  • Git: 2.25.1

Running npm run setup I get the following error:

    ▶️  Starting: Dependency Installation
          Installing third party code dependencies so the workshop works properly on this computer.
          Running the following command: npm install --legacy-peer-deps --no-save
npm error code 1
npm error path /epicai/mcp-ui/exercises/03.complex/01.problem.iframe
npm error command failed
npm error command sh -c npm run pretypecheck
npm error > pretypecheck
npm error > wrangler types ./types/worker-configuration.d.ts && react-router typegen
npm error
npm error
npm error  ⛅️ wrangler 4.40.2 (update available 4.42.0)
npm error ─────────────────────────────────────────────
npm error Generating project types...
npm error
npm error declare namespace Cloudflare {
npm error       interface GlobalProps {
npm error               mainModule: typeof import("../worker/index");
npm error               durableNamespaces: "EpicMeMCP";
npm error       }
npm error       interface Env {
npm error               EPIC_ME_MCP_OBJECT: DurableObjectNamespace<import("../worker/index").EpicMeMCP>;
npm error       }
npm error }
npm error interface Env extends Cloudflare.Env {}
npm error
npm error Generating runtime types...
npm error
npm error
npm error If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
npm error Note that there is a newer version of Wrangler available (4.42.0). Consider checking whether upgrading resolves this error.
npm error ? Would you like to report this error to Cloudflare? Wrangler's output and the error details will be shared with the Wrangler team to help us diagnose and fix the issue.
npm error 🤖 Using fallback value in non-interactive context: no
npm error /epicai/mcp-ui/node_modules/@cloudflare/workerd-linux-64/bin/workerd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /epicai/mcp-ui/node_modules/@cloudflare/workerd-linux-64/bin/workerd)
npm error /epicai/mcp-ui/node_modules/@cloudflare/workerd-linux-64/bin/workerd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /epicai/mcp-ui/node_modules/@cloudflare/workerd-linux-64/bin/workerd)
npm error /epicai/mcp-ui/node_modules/@cloudflare/workerd-linux-64/bin/workerd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /epicai/mcp-ui/node_modules/@cloudflare/workerd-linux-64/bin/workerd)
npm error /epicai/mcp-ui/node_modules/@cloudflare/workerd-linux-64/bin/workerd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.35' not found (required by /epicai/mcp-ui/node_modules/@cloudflare/workerd-linux-64/bin/workerd)
npm error ✘ [ERROR] write EPIPE
npm error
npm error
npm error 🪵  Logs were written to "/.config/.wrangler/logs/wrangler-2025-10-05_14-33-20_384.log"
npm error npm error Lifecycle script `pretypecheck` failed with error:
npm error npm error code 1
npm error npm error path /epicai/mcp-ui/exercises/03.complex/01.problem.iframe
npm error npm error workspace exercises_03.complex_01.problem.iframe
npm error npm error location /epicai/mcp-ui/exercises/03.complex/01.problem.iframe
npm error npm error command failed
npm error npm error command sh -c wrangler types ./types/worker-configuration.d.ts && react-router typegen
npm error A complete log of this run can be found in: /.npm/_logs/2025-10-05T14_29_54_515Z-debug-0.log
    🚨  Failure: Dependency Installation. Please review the messages above for information on how to troubleshoot and resolve this issue.
Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:159:15)
    at writeGeneric (node:internal/stream_base_commons:150:3)
    at Socket._writeGeneric (node:net:971:11)
    at Socket._write (node:net:983:8)
    at writeOrBuffer (node:internal/streams/writable:572:12)
    at _write (node:internal/streams/writable:501:10)
    at Writable.write (node:internal/streams/writable:510:10)
    at Runtime.updateConfig (/epicai/mcp-ui/node_modules/miniflare/dist/src/index.js:49756:26)
    at async #assembleAndUpdateConfig (/epicai/mcp-ui/node_modules/miniflare/dist/src/index.js:61776:30)
    at async Mutex.runWith (/epicai/mcp-ui/node_modules/miniflare/dist/src/index.js:38857:48)

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