run-llama / create-llama

The easiest way to get started with LlamaIndex
MIT License
719 stars 86 forks source link

LlamaPack not working with 0.1.0 #69

Closed leegang closed 2 months ago

leegang commented 3 months ago
npx create-llama@latest
✔ What is your project named? … my-app
✔ Which template would you like to use? › Example using a LlamaPack
✔ Select LlamaPack › rag-fusion-query-pipeline

Aborting installation.
Unexpected error. Please report it as a bug:
 TypeError: Cannot read properties of undefined (reading 'provider')
    at isModelConfigured (/Users/leegang/.npm/_npx/7bfc2205dda2d438/node_modules/create-llama/dist/index.js:298:55245)
    at askPostInstallAction (/Users/leegang/.npm/_npx/7bfc2205dda2d438/node_modules/create-llama/dist/index.js:298:16399)
    at askQuestions (/Users/leegang/.npm/_npx/7bfc2205dda2d438/node_modules/create-llama/dist/index.js:298:17907)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async run (/Users/leegang/.npm/_npx/7bfc2205dda2d438/node_modules/create-llama/dist/index.js:298:72553)
marcusschiesser commented 3 months ago

@leegang Thanks for finding this issue. We'll fix that for the next release. Meanwhile please use npx create-llama@0.0.32 for LlamaPacks