Open
Description
- split to secondary bug at 🔴 Bug:
Redis error [Error: Socket closed unexpectedly]
#18
Steps to Reproduce
- run:
#/usr/bin/env bash nvm install nvm use pnpm install -D # https://github.com/redis/node-redis/blob/9ea260f/packages/client/lib/client/index.ts#L33 # replace `redis[s]://[[username][:password]@][host][:port][/db-number]` with your actual `REDIS_URL` echo "REDIS_URL=\"redis[s]://[[username][:password]@][host][:port][/db-number]\"" > .env.local pnpm build pnpm dev
- in another terminal, run:
#/usr/bin/env bash nvm install nvm use npm i -g @modelcontextprotocol/sdk@latest node scripts/test-client.mjs http://localhost:3000
- 🔴 see that the output reads:
> [email protected] dev /Users/patrick/src/servant-io/mcp-for-next.js > next dev ▲ Next.js 15.2.4 - Local: http://localhost:3000 - Network: http://192.168.1.52:3000 ✓ Starting... ✓ Ready in 2.8s ○ Compiling /[transport] ... ✓ Compiled /[transport] in 1443ms (994 modules) Error: redisUrl is required at Generator.next (<anonymous>) at new Promise (<anonymous>) at Generator.next (<anonymous>) at new Promise (<anonymous>) at new Promise (<anonymous>) ⨯ unhandledRejection: Error: redisUrl is required at Generator.next (<anonymous>) at new Promise (<anonymous>) at Generator.next (<anonymous>) at new Promise (<anonymous>) at new Promise (<anonymous>) ⨯ unhandledRejection: Error: redisUrl is required at Generator.next (<anonymous>) at new Promise (<anonymous>) at Generator.next (<anonymous>) at new Promise (<anonymous>) at new Promise (<anonymous>)
Metadata
Metadata
Assignees
Labels
No labels