sql-js / sql-js/sql.js

Error in webpack build

Aperta
#212 2 commenti 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
JavaScript
Stelle
13.7k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm having the following error return by including when importing the lib (using webpack)

<--- Last few GCs --->

[10376:0000021F7CCE6A80] 91373 ms: Mark-sweep 1403.6 (1471.6) -> 1403.6 (1471.6) MB, 3185.3 / > 0.0 ms allocation failure GC in old space requested
[10376:0000021F7CCE6A80] 94535 ms: Mark-sweep 1403.6 (1471.6) -> 1403.5 (1441.6) MB, 3162.2 / > 0.0 ms last resort gc
[10376:0000021F7CCE6A80] 98458 ms: Mark-sweep 1403.5 (1441.6) -> 1403.5 (1441.6) MB, 3922.3 / > 0.0 ms last resort gc

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 000003E47A5C0D59
1: get [C:...\node_modules\babel-traverse\lib\path\index.js:~76] > [pc=000003FB7F207CC0](this=00000398E240A6F1 <JS Function NodePath (SharedFunctionInfo > 0000031798DE04C1)>,_ref=00000181DD2CF4D1 <an Object with map 000001C7B096A2D1>) > 2: node [C:...\node_modules\babel-traverse\lib\index.js:~94] > [pc=000003FB7F1BBFC8](this=000002C01A19F381 <...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

The report points to a webpack import and stack frames in node_modules/babel-traverse/lib/path/index.js and lib/index.js. Start by reproducing the library import with webpack and confirm whether the JavaScript heap out-of-memory failure still occurs; done means the build completes without that error.

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

Valutazione

Stack tecnologico
babel, javascript, webpack
Ambito
build-system
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.