Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

@metamask/eth-sig-utils imports @metamask/abi-utils and causes an error

オープン
#77 コメント 0 件 リアクション 7 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript
領域
api

調査の方向性

報告された webpack のスタックトレースを出発点として、@metamask/[email protected] と @metamask/[email protected] で失敗を再現します。dist/parsers/function.js と dist/parsers/index.js の相互作用を調査し、その後、パッケージを import しても報告された TypeError が発生しなくなっていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

To be honest, I have no idea why this is happening. I'm using
@metamask/[email protected]
@metamask/[email protected]
and this is the error I get:

Cannot read properties of undefined (reading 'type')
TypeError: Cannot read properties of undefined (reading 'type')
at http://localhost:3030/static/js/bundle.js:648939:42
at Array.map ()
at union (http://localhost:3030/static/js/bundle.js:648939:31)
at ./node_modules/@metamask/abi-utils/dist/parsers/function.js (http://localhost:3030/static/js/bundle.js:56688:29)
at options.factory (http://localhost:3030/static/js/bundle.js:695040:31)
at webpack_require (http://localhost:3030/static/js/bundle.js:694419:32)
at fn (http://localhost:3030/static/js/bundle.js:694698:21)
at ./node_modules/@metamask/abi-utils/dist/parsers/index.js (http://localhost:3030/static/js/bundle.js:56816:14)
at options.factory (http://localhost:3030/static/js/bundle.js:695040:31)
at webpack_require (http://localhost:3030/static/js/bundle.js:694419:32)

主要言語
TypeScript
スター
24
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MetaMask/abi-utils のほかの issue

MetaMask/abi-utils の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。