[JS] Build on Vercel for @apache-arrow/ts fails
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- build-system, cloud
Research direction
Start in ipc/reader.ts at line 116 and inspect the return type expected from streamAdapters.toDOMStream. Run npm run build to reproduce the TypeScript error, then verify that the package builds successfully for a Vercel deployment without the implicit-any failure.
Written by the indexing model from the issue text.
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:
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 (<AsyncIterableIterator<RecordBatch<T>>>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<RecordBatch<T>>(
22:25:40.720 | 118 \| (this.isSync()
22:25:40.720 | 119 \| ? { [Symbol.iterator]: () => this } as Iterable<RecordBatch<T>>
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
- Dominant language
- TypeScript
- Stars
- 112
- Forks
- 23
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/arrow-js
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
Similar issues
-
blocklist removal
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
pastelsky/bundlephobia#1122 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100