Cannot find name 'BigInt'
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- nodejs, typescript
- 領域
- tooling
調査の方向性
まず node_modules/buffer/index.d.ts とプロジェクトの TypeScript 4.0.3 のビルド設定を調査し、BigInt 型を利用できない理由を特定します。プロジェクトのビルドを再現し、その後、一覧にある readBigInt および writeBigInt の宣言で TS2304 エラーが発生しなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
説明
ERROR in node_modules/buffer/index.d.ts:23:38 - error TS2304: Cannot find name 'BigInt'.
23 readBigUInt64LE(offset: number): BigInt;
~~~~~~
node_modules/buffer/index.d.ts:24:38 - error TS2304: Cannot find name 'BigInt'.
24 readBigUInt64BE(offset: number): BigInt;
~~~~~~
node_modules/buffer/index.d.ts:30:37 - error TS2304: Cannot find name 'BigInt'.
30 readBigInt64LE(offset: number): BigInt;
~~~~~~
node_modules/buffer/index.d.ts:31:37 - error TS2304: Cannot find name 'BigInt'.
31 readBigInt64BE(offset: number): BigInt;
~~~~~~
node_modules/buffer/index.d.ts:45:54 - error TS2304: Cannot find name 'BigInt'.
45 writeBigUInt64LE(value: number, offset: number): BigInt;
~~~~~~
node_modules/buffer/index.d.ts:46:54 - error TS2304: Cannot find name 'BigInt'.
46 writeBigUInt64BE(value: number, offset: number): BigInt;
~~~~~~
node_modules/buffer/index.d.ts:52:53 - error TS2304: Cannot find name 'BigInt'.
52 writeBigInt64LE(value: number, offset: number): BigInt;
~~~~~~
node_modules/buffer/index.d.ts:53:53 - error TS2304: Cannot find name 'BigInt'.
53 writeBigInt64BE(value: number, offset: number): BigInt;
~~~~~~
It is not able to find BigInt and hence throwing the error on project build.
"typescript": "^4.0.3"
- 主要言語
- JavaScript
- スター
- 1.9k
- フォーク
- 260
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
feross/buffer のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
Issue-Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
sugarlabs/musicblocks#8924 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ArduPilot/ardupilot_wiki#8088 ·
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled オープンcustomer-eng status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100