browserify / browserify/commonjs-assert

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

Aperta
#61 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
298
Fork
63
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Reproduce the Gatsby development-bundle failure and inspect node_modules/assert/assert.js, focusing on its reference to object.assign/polyfill. Confirm the dependency-resolution behavior in a Gatsby build; done means the bundle completes without the reported missing-module error.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, node.js
Ambito
build-system, tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.