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

npm run generate error: No valid data found at path: cache\index_store.json starting new store. #6

Open
Shameel123 opened this issue Oct 17, 2024 · 3 comments

Comments

@Shameel123
Copy link

Hi,

I am getting following error when I run npm run generate

No valid data found at path: cache\index_store.json starting new store.

I have tried following OS:

  • Windows 10
  • MacOS
  • Ubuntu (WSL)

I get same problem in all of these.

Please let me know what to do to fix this.

Thank you,

Regards,
Shameel Uddin

@Shameel123
Copy link
Author

This is the entire log:

npm run generate

> [email protected] generate
> tsx src/pages/engine/generate.ts

Using 'openai' model provider
Generating storage context...
No valid data found at path: cache\index_store.json starting new store.
Storage context successfully generated in 1.122s.
Finished generating storage.

@marcusschiesser
Copy link
Collaborator

That is expected. Is there any problem?

@Joselier3
Copy link

I had the same issue. I deleted node_modules and ran npm install again. Then, I deleted the cache folder and ran npm run generate again.

I think the issue was that the first time it didn't generate index_store.json in the cache folder. After doing this, it generated the index_store.json and the app worked properly.

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

3 participants