[email protected] bundles outdated [email protected], causing LuminanceFormat SyntaxError with current Three.js
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- three.js, typescript
- 領域
- build-system, frontend, release
調査の方向性
まず model-viewer-effects のビルド設定と配布されている .min.js ファイルを特定し、次に postprocessing@^6.37.1 がどのようにバンドルされているかを調査します。postprocessing@>=6.37.3 で再ビルドし、three@^0.183.0 を使用する公式の postprocessing セットアップで LuminanceFormat SyntaxError が発生しなくなったことを確認します。完了条件には修正済みパッケージの再公開も含まれます。
索引モデルが issue の本文から書いたものです。
説明
@google/[email protected] fails to load with recent Three.js versions:
Uncaught SyntaxError: The requested module 'three' does not provide an export named 'LuminanceFormat' (at model-viewer-effects.min.js:1:796)
Root cause: model-viewer-effects bundles postprocessing@^6.37.1 directly into its distributed file. LuminanceFormat was removed from Three.js's exports, and postprocessing fixed this exact issue in v6.37.3 ("Remove use of LuminanceFormat for r176 support", PR #702). Since model-viewer-effects bundles postprocessing at build time rather than resolving it live, updating the consuming project's Three.js version doesn't help — the outdated, broken code is baked into the shipped .min.js file itself.
To reproduce: Follow the official setup at https://modelviewer.dev/examples/postprocessing/ using three@^0.183.0 (or any Three.js version without LuminanceFormat) with @google/[email protected]. Confirmed reproducible with zero CDN involvement — self-hosting all three libraries locally (downloaded directly from the npm registry) produces the identical error, ruling out any CDN/caching explanation.
Ask: Please rebuild and republish model-viewer-effects against postprocessing@>=6.37.3 (or later) to pick up the fix.
- 主要言語
- TypeScript
- スター
- 8.4k
- フォーク
- 964
- 平均マージ
- 5日 11時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/model-viewer のほかの issue
-
AR not offered in DuckDuckGo iOS (`Ddg/` UA), Ecosia iOS, and Firefox for Android対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
google/model-viewer#5227 ·
メンテナーはふだん 4 日以内に返信
-
Normal maps are inverted with KHR_materials_variants対応中かも @mmporong が 12 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
google/model-viewer#5218 ·
メンテナーはふだん 4 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
google/model-viewer#5210 · コメント 14 件 ·
メンテナーはふだん 4 日以内に返信
-
Helpオープン
難易度 2/5 1時間未満 初心者へのやさしさ 12/100
google/model-viewer#5206 ·
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
google/model-viewer#5203 ·
メンテナーはふだん 4 日以内に返信
google/model-viewer の issue をすべて見る
似ている issue
-
Release utils decode git output chunk by chunk, so a multi-byte character can turn into U+FFFD対応中かも @goranai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothing対応中かも @chaitanya0305 が今日担当しました。 オープンbug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
BaaRai/ARTEX#652 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
compiler-explorer/compiler-explorer#9710 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
test(web): RevealArtwork's warm tests flake on CI because a 0 ms idle timeout means no deadlineオープンbug effort:S P3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nightscout/nocturne#4556 ·
メンテナーはふだん 1 日以内に返信