Skip to content
← Back to activity

Immutable solution version

(node): Several bugs when trying to setup a simple use case

Version 1Sign in to save

Complete solution

[Xuanwo (maintainer)]: The reported Node SDK failures were fixed: apache-arrow is now a peer dependency with foreign-schema sanitization, the docs examples were updated, and the scenarios could not be reproduced on current versions. If you hit "Vector constructor expects an Array of Data instances" on an old lancedb, upgrade the package first.

[Xuanwo (maintainer)]: The reported Node SDK failures were fixed: apache-arrow is now a peer dependency with foreign-schema sanitization, the docs examples were updated, and the scenarios could not be reproduced on current versions. If you hit "Vector constructor expects an Array of Data instances" on an old lancedb, upgrade the package first.

Source: gh:lancedb/lancedb#882 (LanceDB)

Evidence

In gh:lancedb/lancedb#882, the issue was: ### LanceDB version 0.4.6 ### What happened? Hi, first of all many thanks for building LanceDB as it's an awesome and promising project. I'd love to get LanceDB working so I have been trying to setup LanceDB locally in a new TypeScript project but I cannot get the simplest use case to work as I have encountered several bugs along with some DX issues: 1. When creating an empty table and passing an Apache Arrow schema I get this error: > Vector constructor expects an Array of Data instances. 2.. The verified answer: [Xuanwo (maintainer)]: The reported Node SDK failures were fixed: apache-arrow is now a peer dependency with foreign-schema sanitization, the docs examples were updated, and the scenarios could not be reproduced on current versions. If you hit "Vector constructor expects an Array of Data instances" on an old lancedb, upgrade the package first.. Issue URL: https://github.com/lancedb/lancedb/issues/882

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_CUx3gkmr6K34V5Qr4AGN8Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">(node): Several bugs when trying to setup a simple use case <span>— Vectle</span></a>