apache / apache/arrow-js

[JS] Build on Vercel for @apache-arrow/ts fails

Open
#76 2 comments 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
TypeScript
Stars
112
Forks
23
Avg merge
21h 18m
Merged PRs (30d)
8

Description

### Describe the bug, including details regarding any error messages, version, and platform.

When trying to deploy an application to Vercel containing `@apache-arrow/ts`, I receive the following error message:

```text
22:25:40.719 |  
22:25:40.719 | ./node_modules/@apache-arrow/ts/ipc/reader.ts:116:12
22:25:40.719 | Type error: 'toDOMStream' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
22:25:40.719 |  
22:25:40.719 | 114 \| return (>>this._impl)[Symbol.asyncIterator]();
22:25:40.719 | 115 \| }
22:25:40.719 | > 116 \| public toDOMStream() {
22:25:40.719 | \| ^
22:25:40.719 | 117 \| return streamAdapters.toDOMStream>(
22:25:40.720 | 118 \| (this.isSync()
22:25:40.720 | 119 \| ? { [Symbol.iterator]: () => this } as Iterable>
22:25:41.308 | Error: Command "npm run build" exited with 1
```

I'm unsure how I can fix this personally. Thanks for any hints!

### Component(s)

JavaScript

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.