Skip to content
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

dependency conflict on [email protected] #787

Open
Ddper opened this issue Feb 12, 2025 · 0 comments
Open

dependency conflict on [email protected] #787

Ddper opened this issue Feb 12, 2025 · 0 comments

Comments

@Ddper
Copy link

Ddper commented Feb 12, 2025

npx create-next-app@latest chatbot --example "https://github.com/vercel/ai-chatbot/tree/main/" --use-pnpmt

Get the error message below while using this cmd to use this project as template.

`
Downloading files from repo https://github.com/vercel/ai-chatbot/tree/main/. This might take a moment.

Installing packages. This might take a couple of minutes.

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error react@"19.0.0-rc-45804af1-20241021" from the root project
npm error peer react@"*" from @op-engineering/[email protected]
npm error node_modules/@op-engineering/op-sqlite
npm error peerOptional @op-engineering/op-sqlite@">=2" from [email protected]
npm error node_modules/drizzle-orm
npm error drizzle-orm@"^0.34.0" from the root project
npm error 4 more (expo-sqlite, expo, @expo/dom-webview, react-native-webview)
npm error
npm error Could not resolve dependency:
npm error peerOptional react@">=18" from [email protected]
npm error node_modules/drizzle-orm
npm error drizzle-orm@"^0.34.0" 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.
npm error
npm error
npm error For a full report see:
npm error /Users/will/.npm/_logs/2025-02-12T08_43_02_982Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/will/.npm/_logs/2025-02-12T08_43_02_982Z-debug-0.log

Aborting installation.
npm install has failed.
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant