You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding @modelcontextprotocol/sdk to a Catalyst app, a TypeError: Missing parameter name at 1 error occurs due to conflicting versions of the path-to-regexp dependency, so creating a package.json template in create-catalyst-app with both packages won't work
Cause
The issue stems from incompatible versions of path-to-regexp being used by different packages:
Installing @modelcontextprotocol/sdk after other packages resolves the issue by ensuring proper dependency resolution order
Instead of adding both packages in a template package.json, the script would later install the @modelcontextprotocol/sdk package after an initial package-lock.json has been constructed.