Skip to content

Cannot find module '@llamaindex/readers/obsidian' from '****/node_modules/llamaindex/dist/readers/index.js'` #1534

Closed
@charnould

Description

@charnould

Describe the bug
I've been using LlamaIndex to chunk some markdown files and it was working like a charm. Thanks for the lib. However I've just upgraded to 0.8.24 and the very same code does not work any more.

Cannot find module '@llamaindex/readers/obsidian' from '/Users/charnould/GitHub/pierre/node_modules/llamaindex/dist/readers/index.js'

I've tried to delete node_modules and reinstall, to downgrade... and still this error.

This only part in my code where I use Llamaindex uses:
import { Document, MarkdownNodeParser } from 'llamaindex'

Any idea? Thanks.

To Reproduce
See screenshot, readers/obsidian does not exist.

Expected behavior
It should work.

Screenshots

Capture d’écran 2024-11-30 à 17 04 47

Desktop (please complete the following information):

  • OS: macOS
  • JS Runtime : Bun (1.1.38)

Additional context
None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions