browserify / browserify/commonjs-assert

Build failure on gatsby App because of object.assign not resolve in node_modules/assert

オープン
#61 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
298
フォーク
63
PR マージ指標
30日以内にマージされた PR はありません

説明

Working on Gatsby app and suddenly getting this issue, causing build fail:

Generating development JavaScript bundle failed

Can't resolve 'object.assign/polyfill' in 'C:\Home\ARK\Repos\shape-website-3\shape-website\website\node_modules\assert'

If you're trying to use a package make sure that 'object.assign/polyfill' is installed. If you're trying to use a local file make sure that the path is correct.

File: node_modules\assert\assert.js

Required urgent attention, please!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Gatsby の development-bundle の失敗を再現し、node_modules/assert/assert.js を調査して、object.assign/polyfill への参照に注目してください。Gatsby のビルドで依存関係の解決動作を確認してください。報告されたモジュール不足エラーなしでバンドルが完了すれば完了です。

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

評価

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

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

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