Skip to content

manticoresearch-typescript is unusable in Bun #16

@AndrewOt

Description

@AndrewOt

Bug Description:

To create a minimal repro:

  1. Install bun (I am running on linux Pop!_OS but I don't think that should matter)
  2. bun init my-app
  3. bun run index.ts just to ensure it is working
  4. bun add manticoresearch-ts -> should install successfully (can verify in node_modules)
  5. bun run index.ts error
error: Cannot find package "manticoresearch-ts" from "/home/myusername/development/my-project/index.ts"

Bun v1.1.27 (Linux x64)

Did some debugging with ChatGPT and the short story is that the project is not exported correctly to work w/bun's module resolution so I'll have to switch to node :(

Manticore Search Version:

Manticore 14.1.0 2b53a9307@25110709 (columnar 8.1.0 e1522a2@25100213) (secondary 8.1.0 e1522a2@25100213) (knn 8.1.0 e1522a2@25100213) (embeddings 1.0.1)

Client Version:

^8.0.0

Have you tried the latest development version of Manticore Search and the client?

Yes

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed

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