-
-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
Running Spotlight via npx @spotlightjs/spotlight fails at runtime with:
file:///Users/shubh/.npm/_npx/7fff16108b9651a6/node_modules/@hono/mcp/dist/index.js:2
import { DEFAULT_NEGOTIATED_PROTOCOL_VERSION, ErrorCode, JSONRPCMessageSchema, SUPPORTED_PROTOCOL_VERSIONS, isInitializeRequest, isJSONRPCError, isJSONRPCRequest, isJSONRPCResponse } from "@modelcontextprotocol/sdk/types.js";
^^^^^^^^^^^^^^
SyntaxError: The requested module '@modelcontextprotocol/sdk/types.js' does not provide an export named 'isJSONRPCError'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:177:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:260:5)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:543:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\
Reason: @modelcontextprotocol/sdk@1.25.0 removed the re-export of isJSONRPCError from @modelcontextprotocol/sdk/types.js
notgiorgi
Metadata
Metadata
Assignees
Labels
No labels