create-llama not working with npm but with pnpm #114

Closed
opened 2026-02-15 19:16:04 -05:00 by yindo · 0 comments
Owner

Originally created by @marcusschiesser on GitHub (Dec 26, 2024).

Originally assigned to: @thucpn on GitHub.

system:
npm -v 10.8.2
node -v v20.18.1
on macOS

To reproduce:

npx create-llama@latest
Need to install the following packages:
create-llama@0.3.24
Ok to proceed? (y) y

✔ What is your project named? … my-app
✔ What app do you want to build? › Agentic RAG
✔ What language do you want to use? › Typescript (NextJS)
✔ Do you want to use LlamaCloud services? … No / Yes
✔ Please provide your OpenAI API key (leave blank to skip): …
✔ How would you like to proceed? › Start in VSCode (~1 sec)

Then just call npm i:

$ npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: my-app@0.1.0
npm error Found: react@19.0.0-rc-66855b96-20241106
npm error node_modules/react
npm error   react@"19.0.0-rc-66855b96-20241106" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0" from next@15.1.3
npm error node_modules/next
npm error   next@"^15.0.3" 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/marcus/.npm/_logs/2024-12-27T03_03_19_874Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/marcus/.npm/_logs/2024-12-27T03_03_19_874Z-debug-0.log
Originally created by @marcusschiesser on GitHub (Dec 26, 2024). Originally assigned to: @thucpn on GitHub. system: npm -v 10.8.2 node -v v20.18.1 on macOS To reproduce: ``` npx create-llama@latest Need to install the following packages: create-llama@0.3.24 Ok to proceed? (y) y ✔ What is your project named? … my-app ✔ What app do you want to build? › Agentic RAG ✔ What language do you want to use? › Typescript (NextJS) ✔ Do you want to use LlamaCloud services? … No / Yes ✔ Please provide your OpenAI API key (leave blank to skip): … ✔ How would you like to proceed? › Start in VSCode (~1 sec) ``` Then just call `npm i`: ``` $ npm i npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: my-app@0.1.0 npm error Found: react@19.0.0-rc-66855b96-20241106 npm error node_modules/react npm error react@"19.0.0-rc-66855b96-20241106" from the root project npm error npm error Could not resolve dependency: npm error peer react@"^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0" from next@15.1.3 npm error node_modules/next npm error next@"^15.0.3" 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/marcus/.npm/_logs/2024-12-27T03_03_19_874Z-eresolve-report.txt npm error A complete log of this run can be found in: /Users/marcus/.npm/_logs/2024-12-27T03_03_19_874Z-debug-0.log ```
yindo closed this issue 2026-02-15 19:16:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#114