Skip to content

@stripe/[email protected] have dependency issue with Cloudflare [email protected] #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cmingou opened this issue May 31, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@cmingou
Copy link

cmingou commented May 31, 2025

Describe the bug

When executed npm install @stripe/agent-toolkit, got following error

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
...
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/agents
npm error   agents@"^0.0.93" from the root project
npm error
npm error Could not resolve dependency:
npm error peer agents@"^0.0.84" from @stripe/[email protected]
npm error node_modules/@stripe/agent-toolkit
npm error   @stripe/agent-toolkit@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

To Reproduce

  1. Following guide in Cloudflare to create an authentication capable MCP server(https://developers.cloudflare.com/agents/guides/remote-mcp-server/#add-authentication)
  2. Install Stripe agent toolkit(npm install @stripe/agent-toolkit)

Expected behavior

Should be install successful.

Code snippets

OS

macOS

Language version

Node v22.16.0

Library version

@stripe/[email protected]

API version

2025-05-28.basil

Additional context

No response

@cmingou cmingou added the bug Something isn't working label May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant